tomo id on private server added
CI for csaxs_bec / test (push) Successful in 1m56s

This commit is contained in:
x12sa
2026-04-01 13:15:10 +02:00
parent 10cc820b2c
commit ac23be094e
2 changed files with 15 additions and 14 deletions
@@ -1829,20 +1829,20 @@ class Flomni(
or (self.tomo_type == 3 and projection_number == None)
):
# pylint: disable=undefined-variable
# if bec.active_account != "":
# self.tomo_id = self.add_sample_database(
# self.sample_name,
# str(datetime.date.today()),
# bec.active_account,
# bec.queue.next_scan_number,
# "flomni",
# "test additional info",
# "BEC",
# )
# self.write_pdf_report()
# else:
self.tomo_id = 0
#pylint: disable=undefined-variable
if bec.active_account != "":
self.tomo_id = self.add_sample_database(
self.sample_name,
str(datetime.date.today()),
bec.active_account,
bec.queue.next_scan_number,
"flomni",
"test additional info",
"BEC",
)
self.write_pdf_report()
else:
self.tomo_id = 0
self.write_pdf_report()
self.progress["tomo_start_time"] = datetime.datetime.now().isoformat()
@@ -279,6 +279,7 @@ class TomoIDManager:
# f" -q -O {self.TMP_FILE} '{url}'",
# shell=True,
# )
#print(url)
subprocess.run(
f"wget -q -O {self.TMP_FILE} '{url}'",
shell=True,