Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changes/newsfragments/454.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix FSL presence checking status code by `Fede Raimondo`_
4 changes: 3 additions & 1 deletion junifer/pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down