Script execution
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#Script imported and adopted from: XTREME beamline
|
||||
import time
|
||||
|
||||
#Parameters
|
||||
|
||||
@@ -137,7 +138,10 @@ try:
|
||||
#newName = get_exec_pars().path + "/" + time.strftime("%Y%m%d_%H%M_", start) + FILE + ".txt";
|
||||
|
||||
import time
|
||||
os.makedirs(get_exec_pars().path)
|
||||
try:
|
||||
os.makedirs(get_exec_pars().path)
|
||||
except:
|
||||
pass
|
||||
newName = get_exec_pars().path + "/" + time.strftime("%Y%m%d_%H%M_", start) + FILE + ".txt";
|
||||
|
||||
name = getNewestFile()
|
||||
|
||||
Reference in New Issue
Block a user