Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
atomprobe-tc committed Jan 30, 2025
1 parent 8936a45 commit 075c8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynxtools_apm/utils/oasis_apsuite_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def parse_event_statistics(self, template: dict) -> dict:
]
trg = f"/ENTRY[entry{self.entry_id}]/atom_probe/hit_finding/"
for cameca_name, nexus_name in event_type_names:
if f"fTotalEvent{cameca_name}" in self.yml:
if f"fTotalEvent{cameca_name}" in self.yml.as_dict().keys():
template[f"{trg}total_event_{nexus_name}"] = self.yml[
f"fTotalEvent{cameca_name}"
]
Expand Down

0 comments on commit 075c8b9

Please sign in to comment.