Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
atomprobe-tc committed Jan 27, 2025
1 parent 66023fa commit 069d267
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pynxtools_apm/utils/oasis_apsuite_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ def parse_ranging_definitions(self, template: dict) -> dict:
):
# TODO::check if range is significant
symbol = element_multiplicity[0]
atoms = np.append(
atoms, [symbol] * int(element_multiplicity[1])
)
atoms += [symbol] * int(element_multiplicity[1])
unique_elements.add(symbol)

ion = NxIon(nuclide_hash=create_nuclide_hash(atoms), charge_state=0)
Expand Down

0 comments on commit 069d267

Please sign in to comment.