Skip to content

Commit

Permalink
also remove .i3 from output name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aske-Rosted committed Feb 21, 2024
1 parent 6a2f126 commit 3226670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphnet/data/dataconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _create_file_name(self, input_file_path: Union[str, I3FileSet]) -> str:
for ext in self._file_reader._accepted_file_extensions:
if file_name.endswith(ext):
file_name_without_extension = file_name.replace(ext, "")
return file_name_without_extension
return file_name_without_extension.replace(".i3", "")

@final
def _assign_event_no(
Expand Down

0 comments on commit 3226670

Please sign in to comment.