Skip to content

Commit

Permalink
Fix for Bowen's Zeiss Ultra files
Browse files Browse the repository at this point in the history
  • Loading branch information
atomprobe-tc committed Sep 21, 2024
1 parent 7cb1a3f commit 75050fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
"request": "launch",
"cwd": "${workspaceFolder}",
"program": "../.py3.12.4/bin/dataconverter",
"args": ["tests/data/eln/eln_data.yaml",
"args": [//"tests/data/eln/eln_data.yaml",
//"tests/data/image_zeiss/A-alloy800-0506_BSD.tif",
//"tests/data/image_zeiss/A-alloy800-05_grain_boundary22_InLens.tif",
"tests/data/image_zeiss/A-alloy800-05_grain_boundary19_SE.tif",
"--reader",
"em",
"--nxdl",
"NXem",
"--output=tests/out.nxs"]
"--output=tests/out3.nxs"]
}
]
}
5 changes: 4 additions & 1 deletion src/pynxtools_em/parsers/image_tiff_zeiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ def __init__(self, file_path: str = "", entry_id: int = 1, verbose: bool = False
"trg": {
"tech_partner": ["Zeiss"],
"schema_name": ["Zeiss"],
"schema_version": ["V06.03.00.00 : 15-Dec-17"],
"schema_version": [
"V06.00.00.00 : 09-Jun-16",
"V06.03.00.00 : 15-Dec-17",
],
}
}
self.supported = False
Expand Down

0 comments on commit 75050fc

Please sign in to comment.