Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shnizzedy opened this issue Sep 25, 2020 · 0 comments
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/

Comments

@shnizzedy
Copy link
Member

Related problem

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

else: # pragma: no cover
try:
self.image = Client.pull(
"shub://FCP-INDI/C-PAC",
pull_folder=pwd
)
except Exception:
try:
self.image = Client.pull(
f"docker://fcpindi/c-pac:latest",
pull_folder=pwd
)

Proposed feature

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

Alternatives

  • A default path?
  • An environment variable?
@shnizzedy shnizzedy added the enhancement New feature or request label Sep 25, 2020
@shnizzedy shnizzedy added the Hacktoberfest https://hacktoberfest.digitalocean.com/ label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/
Projects
Status: No status
Development

No branches or pull requests

1 participant