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
Traceback (most recent call last):
File "", line 1, in
File "/data/jsp/human2/fcMRI/Aaron/locals/Ubuntu20.04/local/pkg/anaconda/envs/bids/lib/python3.12/site-packages/bids/layout/layout.py", line 365, in save
self.connection_manager = self.connection_manager.save_database(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/jsp/human2/fcMRI/Aaron/locals/Ubuntu20.04/local/pkg/anaconda/envs/bids/lib/python3.12/site-packages/bids/layout/db.py", line 139, in save_database
new_db.execute(line)
sqlite3.OperationalError: table associations already exists
I have run these three lines before with out an issue. Have I done some thing wrong.
The text was updated successfully, but these errors were encountered:
This morning I looked into this an little further. It is occurring because the sqlite file already exist. This has never happened to me before. However I have not run this script since before pybids 0.17.0 came out.
It has been some time since I posted this. I concluded that it was the upgrade to pypids 0.17.0. I remember it not being a version mismatch. I would have tested for that.
I am currently running the newest version of pybids. On ubuntu 20.04 and 22.04. I am running three lines of code:
`import bids as BIDS
layout=BIDS.BIDSLayout('/data/jsp/human2/BidsDataset/PIB')
layout.save('/data/jsp/human2/BidsDataset/Scripts/PIBproject') `
I get the following error
I have run these three lines before with out an issue. Have I done some thing wrong.
The text was updated successfully, but these errors were encountered: