We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45938aa commit e143ce8Copy full SHA for e143ce8
1 file changed
datajoint/autopopulate.py
@@ -182,7 +182,7 @@ def populate(
182
:type make_kwargs: dict, optional
183
:return: a dict with two keys
184
"success_count": the count of successful ``make()`` calls in this ``populate()`` call
185
- "error_list": the error list if "suppress_errors" is set to True, otherwise None
+ "error_list": the error list that is filled if `suppress_errors` is True
186
"""
187
if self.connection.in_transaction:
188
raise DataJointError("Populate cannot be called during a transaction.")
@@ -277,7 +277,7 @@ def handler(signum, frame):
277
278
return {
279
"success_count": sum(success_list),
280
- "error_list": error_list if suppress_errors else None,
+ "error_list": error_list,
281
}
282
283
def _populate1(
0 commit comments