FCP-INDI / cpac

A convenience wrapper for https://github.com/FCP-INDI/C-PAC that provides a simple command line interface.
https://fcp-indi.github.io/docs/latest/user/cpac
MIT License
4 stars 3 forks source link

⚡ Better handling of a local, not-specified-at-runtime Singularity image #6

Open shnizzedy opened 3 years ago

shnizzedy commented 3 years ago

Related problem

Right now, if --platform singularity is given without an image, cpac just pulls without even trying to find a local image.

https://github.com/FCP-INDI/cpac/blob/a05d612722f03dfa790f2edc718205351116eb66/src/cpac/backends/singularity.py#L29-L40

Proposed feature

A configuration file that specifies the path to a default Singularity image seems like the most obvious solution.

Alternatives