Skip to content

Commit

Permalink
fix(lst): remove .lst suffix in HDF5 file name
Browse files Browse the repository at this point in the history
  • Loading branch information
wiwski committed Feb 9, 2023
1 parent 7eb8144 commit 26b2335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lst/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ def convert_lst_to_hdf5(
logger.info("Reading from: %s" % lst_file)

parser = LstParser(filename=lst_file, config=config)
logger.info("Starting reading files...")

file_h5 = h5py.File(output_path / f"{lst_file.name}.hdf5", mode="w")
file_h5 = h5py.File(output_path / f"{lst_file.stem}.hdf5", mode="w")

map_info, exp_info = parser.parse_header()
logger.debug(f"map_info: {map_info}")
Expand Down

0 comments on commit 26b2335

Please sign in to comment.