icecube / skyllh

https://icecube.github.io/skyllh/
GNU General Public License v3.0
11 stars 5 forks source link

Allow pathfilename to contain only the filename #202

Closed tomaskontrimas closed 7 months ago

tomaskontrimas commented 7 months ago

functions like create_trial_data_file in the analysis utils script accept pathfilename argument. In case it is only the file name (e.g. 'trials.npy'), the makedirs call fails. This PR fixes it and allows to save trials with only the filename specified.