File tree Expand file tree Collapse file tree 2 files changed +98
-101
lines changed
Expand file tree Collapse file tree 2 files changed +98
-101
lines changed Original file line number Diff line number Diff line change @@ -768,7 +768,7 @@ def register_completed_tilt_series(
768768 db .commit ()
769769 for ts in tilt_series_db :
770770 if (
771- check_tilt_series_mc (ts .id )
771+ check_tilt_series_mc (ts .id , db )
772772 and not ts .processing_requested
773773 and ts .tilt_series_length > 2
774774 ):
@@ -795,9 +795,9 @@ def register_completed_tilt_series(
795795 machine_config = get_machine_config (instrument_name = instrument_name )[
796796 instrument_name
797797 ]
798- tilts = get_all_tilts (ts .id )
799- ids = get_job_ids (ts .id , collected_ids [3 ].id )
800- preproc_params = get_tomo_proc_params (ids .dcgid )
798+ tilts = get_all_tilts (ts .id , db )
799+ ids = get_job_ids (ts .id , collected_ids [3 ].id , db )
800+ preproc_params = get_tomo_proc_params (ids .dcgid , db )
801801
802802 first_tilt = db .exec (
803803 select (Tilt ).where (Tilt .tilt_series_id == ts .id )
You can’t perform that action at this time.
0 commit comments