This commit is contained in:
gac-x11ma
2020-01-15 09:15:50 +01:00
parent e7b60c995b
commit e39b1864e7
3 changed files with 18 additions and 18 deletions

View File

@@ -41,8 +41,8 @@ if METHOD == "Two_Energies":
for en in [ENERGY_1, ENERGY_2]:
if en < 89.9 or en > 2000:
raise Exception("Bad energy argument")
set_exec_pars(path= path, format="txt", layout="table", open=True)
path = "{data}/{year}_{month}/{date}" + "/" + METHOD + "_{seq}%03d"
path = "{data}/{year}_{month}/{date}" + "/" + METHOD + "_{seq}%03d"
data_path = get_context().setup.expandPath(path)
#get_context().incrementFileSequentialNumber()