We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c94171 commit 625ca1fCopy full SHA for 625ca1f
2 files changed
src/murfey/client/contexts/tomo.py
@@ -638,7 +638,8 @@ def gather_metadata(
638
metadata_file.parent / data_file
639
)
640
mdoc_metadata["frame_count"] = int(
641
- mdoc_metadata["eer_fractionation"] / mdoc_metadata["num_eer_frames"]
+ int(mdoc_metadata["eer_fractionation"])
642
+ / int(mdoc_metadata["num_eer_frames"])
643
644
except Exception as e:
645
logger.error(f"Exception encountered in metadata gathering: {str(e)}")
src/murfey/util/models.py
@@ -315,6 +315,7 @@ class ProcessFile(BaseModel): # Rename to TomoProcessFile
315
image_number: int
316
pixel_size: float
317
dose_per_frame: float
318
+ frame_count: int
319
mc_uuid: Optional[int] = None
320
voltage: float = 300
321
mc_binning: int = 1
0 commit comments