Skip to content

Commit cfe0eae

Browse files
feat: Thermo Fisher Scientific Genesys30 - add unread data (#1093)
<img width="1811" height="180" alt="image" src="https://github.com/user-attachments/assets/28d060d7-c2c9-439c-bc49-41f62e5e9bd8" />
1 parent 4e99fbc commit cfe0eae

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/allotropy/parsers/thermo_fisher_genesys30/thermo_fisher_genesys30_structure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def create_measurement_groups(
8383
"value": header.get(float, "Upper"),
8484
"unit": "nm",
8585
},
86+
"number of sampled points": header.get(int, "Length"),
87+
**header.get_unread(),
8688
},
8789
),
8890
],

tests/parsers/thermo_fisher_genesys30/testdata/thermo_fisher_genesys30_example_01.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"operating maximum": {
2222
"value": 480.0,
2323
"unit": "nm"
24-
}
24+
},
25+
"number of sampled points": 156
2526
}
2627
}
2728
]
@@ -74,7 +75,7 @@
7475
"UNC path": "tests/parsers/thermo_fisher_genesys30/testdata/thermo_fisher_genesys30_example_01.tsv",
7576
"software name": "Genesys 30 instrument software",
7677
"ASM converter name": "allotropy_thermo_fisher_scientific_genesys30",
77-
"ASM converter version": "0.1.76"
78+
"ASM converter version": "0.1.106"
7879
}
7980
}
8081
}

tests/parsers/thermo_fisher_genesys30/testdata/thermo_fisher_genesys30_example_02.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"operating maximum": {
2222
"value": 480.0,
2323
"unit": "nm"
24-
}
24+
},
25+
"number of sampled points": 156
2526
}
2627
}
2728
]
@@ -74,7 +75,7 @@
7475
"UNC path": "tests/parsers/thermo_fisher_genesys30/testdata/thermo_fisher_genesys30_example_02.csv",
7576
"software name": "Genesys 30 instrument software",
7677
"ASM converter name": "allotropy_thermo_fisher_scientific_genesys30",
77-
"ASM converter version": "0.1.76"
78+
"ASM converter version": "0.1.106"
7879
}
7980
}
8081
}

0 commit comments

Comments
 (0)