Skip to content

Commit

Permalink
This fixes that, but I don't understand why
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jun 7, 2024
1 parent 46b2f00 commit f17240c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mala/datahandling/data_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,12 @@ def __convert_single_snapshot(
)

elif description["input"] == "openpmd":
self.descriptor_calculator._feature_mask = lambda: 0
tmp_input = self.descriptor_calculator.read_from_openpmd_file(
snapshot["input"], units=original_units["input"]
)
elif description["input"] == "numpy":
self.descriptor_calculator._feature_mask = lambda: 0
tmp_input = self.descriptor_calculator.read_from_numpy_file(
snapshot["input"], units=original_units["input"]
)
Expand Down

0 comments on commit f17240c

Please sign in to comment.