Skip to content

Commit

Permalink
Make sure that subfolders array is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Oct 31, 2024
1 parent 875de6b commit 8c9789d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NiChart_DLMUSE/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ def split_data(in_dir: str, N: int) -> list:
os.system(f"cp {file} {in_dir}/split_{current_folder}")
current_file += 1

if current_file > 0:
subfolders.append(f"{in_dir}/split_{current_folder}")

return subfolders


Expand Down

0 comments on commit 8c9789d

Please sign in to comment.