We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2188f7 commit ec089a7Copy full SHA for ec089a7
src/murfey/client/contexts/tomo.py
@@ -689,7 +689,7 @@ def gather_metadata(
689
mdoc_metadata: OrderedDict = OrderedDict({})
690
mdoc_metadata["experiment_type"] = "tomography"
691
mdoc_metadata["voltage"] = float(mdoc_data["Voltage"])
692
- mdoc_metadata["frame_count"] = float(mdoc_data_block["NumSubFrames"])
+ mdoc_metadata["frame_count"] = int(mdoc_data_block["NumSubFrames"])
693
mdoc_metadata["image_size_x"] = int(mdoc_data["ImageSize"][0])
694
mdoc_metadata["image_size_y"] = int(mdoc_data["ImageSize"][1])
695
mdoc_metadata["magnification"] = int(mdoc_data_block["Magnification"])
0 commit comments