Skip to content

Commit cd0bc40

Browse files
authored
Merge pull request #104 from boutproject/squashoutput
Allow simplified user access via python -m
2 parents 9e603a2 + 9fde5a7 commit cd0bc40

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

boutdata/squashoutput.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,3 +313,9 @@ def _get_filenames_t_slices(time_split_size, time_split_first_label, fullpath, t
313313
filenames.append(filename)
314314
t_slices.append(slice(i * time_split_size, (i + 1) * time_split_size))
315315
return filenames, t_slices
316+
317+
318+
if __name__ == "__main__":
319+
from .scripts.bout_squashoutput import main
320+
321+
main()

0 commit comments

Comments
 (0)