diff --git a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py index f59a2f1..e418373 100644 --- a/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py +++ b/csaxs_bec/bec_ipython_client/plugins/flomni/flomni.py @@ -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() diff --git a/csaxs_bec/bec_ipython_client/plugins/omny/omny_general_tools.py b/csaxs_bec/bec_ipython_client/plugins/omny/omny_general_tools.py index 222ca5a..8ee5c28 100644 --- a/csaxs_bec/bec_ipython_client/plugins/omny/omny_general_tools.py +++ b/csaxs_bec/bec_ipython_client/plugins/omny/omny_general_tools.py @@ -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,