diff --git a/CHANGELOG.md b/CHANGELOG.md index ddc8e02e..43208672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ linmos images after combining into a cube, removing the weight text files) - Added a `timelimit_on_context` helper to raise an error after some specified length of time. Looking at you, BANE and issue #186. Arrrr. +- Added a `BANE` callback handler to attempt to help #186. This includes a + `AttemptRerunException` and corresponding code in `run_singularity_comand` to + retry the failing command. # 0.2.8 diff --git a/flint/source_finding/aegean.py b/flint/source_finding/aegean.py index 026c6ca5..23d53e77 100644 --- a/flint/source_finding/aegean.py +++ b/flint/source_finding/aegean.py @@ -77,6 +77,9 @@ def _bane_output_callback(line: str) -> None: assert isinstance(line, str) if "must be strictly ascending or descending" in line: + from time import sleep + + sleep(2) raise AttemptRerunException("BANE deadlock detected. ")