Skip to content

Commit

Permalink
Merge pull request #2692 from patrickcleeve2/meteor-969-fix-tfs-rotat…
Browse files Browse the repository at this point in the history
…ion-metadata

[fix] disable scan rotation metadata for tfs
  • Loading branch information
pieleric authored Mar 12, 2024
2 parents 83ec886 + 49de6ab commit 7bc8eec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/odemis/dataio/tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -2743,7 +2743,8 @@ def _convert_thermo_fisher_to_odemis_metadata(metadata: str) -> dict:
try:
# beam metadata
beam_type = tfs_md["Beam"]["beam"]
md[model.MD_ROTATION] = float(tfs_md[beam_type]["scanrotation"])
# tmp: disable scan rotation metadata, as it is inconsistent with how odemis displays images
md[model.MD_ROTATION] = 0 # float(tfs_md[beam_type]["scanrotation"])
md[model.MD_EBEAM_VOLTAGE] = float(tfs_md[beam_type]["hv"])
md[model.MD_EBEAM_CURRENT] = float(tfs_md[beam_type]["beamcurrent"])

Expand Down

0 comments on commit 7bc8eec

Please sign in to comment.