You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using Python 3.6, 3.9, and 3.12.1, I have not been able to use bidskit (installed through pip). Any usage of the module gives the error, "TypeError: Expected maxsize to be an integer or None" (from BIDS validator).
To Reproduce
Use bidskit
Screenshots
Desktop (please complete the following information):
OS: Linux / x86_64
The text was updated successfully, but these errors were encountered:
You're right, it's an issue during the initialization of the bids_validator package called from the pybids initialization. As a test, can you open a python interactive shell from the command line and just import the bids package only? Does that throw an error immediately? I can't tell if you're using a virtual environment for python, but one way to work around this is to set up a python 3.9 or 3.10 virtual environment using conda or venv then pip installing bidskit (or just pybids to start with) into this virtual environment and seeing if that fixes the initialization issue. Let me know - happy to continue debugging this with you.
Thanks for the quick reply — using a Python 3.9 virtual environments seems to have worked. I have another question, which I will raise in a different issue.
Describe the bug
Using Python 3.6, 3.9, and 3.12.1, I have not been able to use
bidskit
(installed through pip). Any usage of the module gives the error, "TypeError: Expected maxsize to be an integer or None" (from BIDS validator).To Reproduce
Use
bidskit
Screenshots

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: