File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -638,7 +638,8 @@ def gather_metadata(
638638 metadata_file .parent / data_file
639639 )
640640 mdoc_metadata ["frame_count" ] = int (
641- mdoc_metadata ["eer_fractionation" ] / mdoc_metadata ["num_eer_frames" ]
641+ int (mdoc_metadata ["eer_fractionation" ])
642+ / int (mdoc_metadata ["num_eer_frames" ])
642643 )
643644 except Exception as e :
644645 logger .error (f"Exception encountered in metadata gathering: { str (e )} " )
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ class ProcessFile(BaseModel): # Rename to TomoProcessFile
315315 image_number : int
316316 pixel_size : float
317317 dose_per_frame : float
318+ frame_count : int
318319 mc_uuid : Optional [int ] = None
319320 voltage : float = 300
320321 mc_binning : int = 1
You can’t perform that action at this time.
0 commit comments