Skip to content
Snippets Groups Projects
Commit f944d6dd authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

portable home dir

parent 849a638d
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python3
# extract data of lattice elements dnf prepare auxiliary layout info
import os
import LatticeInfo
latticetfile = "/home/claudio/src/gitlab/dt/machine/lattice/elettra2/srElettra2_9_4_beta.mat"
homedir=os.path.expanduser('~')
latticetfile = homedir + "/src/gitlab/dt/machine/lattice/elettra2/srElettra2_9_4_beta.mat"
linfo = LatticeInfo.LatticeInfo(latticetfile, 2.4e9)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment