From 75050fc6ba3c197c1f5d66eeaf7474bb96b805cd Mon Sep 17 00:00:00 2001 From: mkuehbach Date: Sat, 21 Sep 2024 14:03:08 +0200 Subject: [PATCH] Fix for Bowen's Zeiss Ultra files --- .vscode/launch.json | 7 +++++-- src/pynxtools_em/parsers/image_tiff_zeiss.py | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index f06d8e1..92cadc3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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"] } ] } \ No newline at end of file diff --git a/src/pynxtools_em/parsers/image_tiff_zeiss.py b/src/pynxtools_em/parsers/image_tiff_zeiss.py index 79d99fc..6b4c0a1 100644 --- a/src/pynxtools_em/parsers/image_tiff_zeiss.py +++ b/src/pynxtools_em/parsers/image_tiff_zeiss.py @@ -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