We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdf86ff commit 5780f81Copy full SHA for 5780f81
1 file changed
rubin_sim/maf/chimera_progress.py
@@ -216,7 +216,7 @@ def run_chimera_batches(
216
try:
217
bdict = batch_func(run_name=run_name)
218
except TypeError as batch_error:
219
- if not str(batch_error).endswith("got an unexpected keyword argument 'run_name'"):
+ if "got an unexpected keyword argument 'run_name'" not in str(batch_error):
220
# we got some other exception, just pass it along.
221
raise
222
# We have a batch that uses runName instead of run_name.
0 commit comments