From c1151cd4b40c621043497ce0defaf81c7cc56f3a Mon Sep 17 00:00:00 2001 From: Fede Raimondo Date: Sun, 27 Jul 2025 09:27:51 +0200 Subject: [PATCH 1/2] Fix check for FSL --- junifer/pipeline/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/junifer/pipeline/utils.py b/junifer/pipeline/utils.py index f8d66f90ac..66dd433d7d 100644 --- a/junifer/pipeline/utils.py +++ b/junifer/pipeline/utils.py @@ -155,7 +155,9 @@ def _check_fsl(commands: Optional[list[str]] = None) -> bool: shell=True, # is unsafe but kept for resolution via PATH check=False, ) - fsl_found = completed_process.returncode == 1 + fsl_found = ( + completed_process.returncode == 1 or completed_process.returncode == 0 + ) # Check for specific commands if fsl_found and commands is not None: From fbf867afd832612b625ccfa3bc394bd4f461ac05 Mon Sep 17 00:00:00 2001 From: Synchon Mandal Date: Tue, 16 Sep 2025 18:06:56 +0200 Subject: [PATCH 2/2] chore: add changelog 454.bugfix --- docs/changes/newsfragments/454.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/changes/newsfragments/454.bugfix diff --git a/docs/changes/newsfragments/454.bugfix b/docs/changes/newsfragments/454.bugfix new file mode 100644 index 0000000000..7774f9a891 --- /dev/null +++ b/docs/changes/newsfragments/454.bugfix @@ -0,0 +1 @@ +Fix FSL presence checking status code by `Fede Raimondo`_