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 e7de829 commit c637bc3Copy full SHA for c637bc3
store/neurostore/resources/base.py
@@ -472,7 +472,8 @@ def put(self, id):
472
473
try:
474
self.update_base_studies(unique_ids.get("base-studies"))
475
- self.update_annotations(unique_ids.get("annotations"))
+ if self._model is not Annotation:
476
+ self.update_annotations(unique_ids.get("annotations"))
477
except SQLAlchemyError as e:
478
db.session.rollback()
479
abort(400, description=str(e))
0 commit comments