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

get home path from system

parent 5c39d077
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,9 @@
# extract data of lattice elements dnf prepare auxiliary layout info
import LatticeInfo
latticetfile = "/home/claudio/src/gitlab/dt/machine/lattice/elettra2/srElettra2_9_4_beta.mat"
import os
home_dir = os.path.expanduser("~")
latticetfile = home_dir +"/src/gitlab/dt/machine/lattice/elettra2/srElettra2_9_4_beta.mat"
linfo = LatticeInfo.LatticeInfo(latticetfile, 2.49)
......
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