Skip to content

Commit

Permalink
support full paths to files in convert_li_to_h5
Browse files Browse the repository at this point in the history
  • Loading branch information
slwatkins authored Jul 18, 2024
1 parent 1c59c62 commit 7060568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/splendaq/io/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def convert_li_to_h5(li_file, my_os):

convert_li(li_file, my_os, filetype='mat')
mat_filenames = sorted(
Path('.').glob(f"{Path(li_file).with_suffix('')}*.mat")
Path(li_file).parent.glob(f"{Path(li_file).stem}*.mat")
)
mat_files = []
for ff in mat_filenames:
Expand Down

0 comments on commit 7060568

Please sign in to comment.