-
Notifications
You must be signed in to change notification settings - Fork 117
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
sqlalchemy crash #1056
Comments
When trying to run with pdb, you cannot do much because sqlachemy is left in a state that only gets you |
Does changing versions of sqlalchemy affect whether this reproduces? I note that you're using Python 3.12, which we are not yet testing on (I'm working on that now). |
Oh that might be it, however the same few lines in ipython on the same version works. Unless the previous query modify the BIDSLayout that put it in an unstable state. I will give a try on older python. |
I have the same issue in python3.10, I was using 3.12 for some new typing syntax and will post if I trigger any issue with pybids , so far none. Figured out that I was modifying some BIDSFile entities in-place at some point, it seems to be what caused the issue. BTW: I am trying to draft a small tools for continuous BIDS protocol compliance (see: https://neurostars.org/t/continous-bids-multi-site-protocol-compliance/29204/2 ), any feedback is welcome. :) |
One thing that might be worth looking into if you're just using the layout is https://github.com/cmi-dair/bids2table. It's extremely fast and not SQL-based. |
I have a weird crash when running this simple query, but just in the code I have written, not when running line by line the same in ipython:
traceback
[edit]
oups, went out too fast.
So I have no idea what is causing this only in the code. Any idea? Thanks!
The text was updated successfully, but these errors were encountered: