Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to
Related to #2150 (comment) by @nimzodisaster
Description
Replaces
C-PAC/CPAC/pipeline/cpac_runner.py
Line 105 in 96db8b0
C-PAC/CPAC/pipeline/cpac_runner.py
Line 134 in 96db8b0
C-PAC/CPAC/pipeline/utils.py
Lines 30 to 41 in 68baf2e
C-PAC/CPAC/pipeline/cpac_runner.py
Line 176 in 68baf2e
Technical details
This PR should resolve the identified empty
-S
parameter, but I the batch scripts C-PAC generates look like they're intended for uncontainerized runs, which we no longer support, so I think they'll need more of an update to get them working again.This PR is just makes this small fix, functionalizes it and adds a unit test for the function. I thought it'd be easier to just make the small PR than to keep track of my notes from investigating the issue.
Tests
C-PAC/CPAC/pipeline/test/test_cpac_runner.py
Lines 13 to 18 in 964cb4b
Checklist
Update index.md
).develop
branch of the repository.Developer Certificate of Origin
Developer Certificate of Origin