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

Fix Crash when using --singularity with Apptainer #29

Merged

Conversation

NickEngland
Copy link

The problem I was getting:

Singularity is required to run this tool: invalid literal for int() with base 10: 'a'

was because on the hive singularity now runs apptainer. This means singularity --version returns:

apptainer version 1.2.4-1.el9

which fails to parse in cwltool.

This change fixes that problem and lets the pipeline run. I haven't provided a lookup of which apptainer version is feature compatible with which singularity version, which might be needed in the future if the version logic is used anywhere to enable or disable features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants