Skip to content

Commit

Permalink
fix: disable scan rotation metadata for tfs, due to inconsistency wit…
Browse files Browse the repository at this point in the history
…h odemis display
  • Loading branch information
patrickcleeve2 committed Mar 5, 2024
1 parent 2f3aea7 commit 49de6ab
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 49de6ab

Please sign in to comment.