Skip to content

Conversation

@k1o0
Copy link

@k1o0 k1o0 commented Aug 2, 2022

We encountered an uninformative error using pyBpod. For whatever reason the software had created an empty user config file. The subsequent exception was pretty opaque:

20220729_161713

In this PR we add a check for the config file existing and having a non-zero file size. We also modify the exception message which appeared to have been copied from the subject_io.py module without changes and without string format input.

I don't know if returning without loading would cause problems downstream. Perhaps you can look into that and if it does, modify the projects loader to check for this.

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