We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be97d9 commit 8e18343Copy full SHA for 8e18343
scripts/standardize_database.py
@@ -79,3 +79,9 @@
79
run_ids = db.get_run_ids(subject_id, session_id)
80
db.write_run_ids(subject_id, session_id, run_ids)
81
# (Runs are read only at the moment so it's just the runs.json and no individual runs to standardize)
82
+
83
+db.write_user_ids(db.get_user_ids())
84
+for user_id in db.get_user_ids():
85
+ user = db.load_user(user_id)
86
+ assert user_id == user.id
87
+ db.write_user(user, on_conflict=OnConflictOpts.OVERWRITE)
0 commit comments