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 27b939f commit 18a83ceCopy full SHA for 18a83ce
datajoint/base_relation.py
@@ -308,7 +308,8 @@ def delete(self, verbose=True):
308
already_in_transaction = self.connection.in_transaction
309
safe = config['safemode']
310
if already_in_transaction and safe:
311
- raise DataJointError('Cannot delete within a transaction in safemode. Set dj.config["setmode"] = False.')
+ raise DataJointError('Cannot delete within a transaction in safemode. '
312
+ 'Set dj.config["setmode"] = False or complete the ongoing transaction first.')
313
graph = self.connection.dependencies
314
graph.load()
315
delete_list = collections.OrderedDict()
0 commit comments