Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pathfilename to contain only the filename #202

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

tomaskontrimas
Copy link
Collaborator

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.

@tomaskontrimas tomaskontrimas self-assigned this Dec 7, 2023
@tomaskontrimas tomaskontrimas merged commit 76a903e into master Dec 7, 2023
4 checks passed
@tomaskontrimas tomaskontrimas deleted the fix_create_trial branch December 7, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants