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

export CONDA_PREFIX into container when using Singularity and Apptainer #298

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

drpatelh
Copy link
Member

Closes #292

A few users have reported that the CONDA_PREFIX variable is not available in the Aspera Singularity Biocontainer available on Galaxy:
https://depot.galaxyproject.org/singularity/aspera-cli:4.14.0--hdfd78af_1

It does appear to be set in the Docker Biocontainer as expected. Ideally, we would rebuild the Singularity container to export this variable. This fix essentially checks the profile that users are running and exports the variable within the process to make it available when using -profile singularity or -profile apptainer. We can remove this patch when it is exported into the container as expected.

Copy link

github-actions bot commented Feb 29, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit cdc31b9

+| ✅ 154 tests passed       |+
#| ❔   5 tests were ignored |#
!| ❗   5 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: assets/multiqc_config.yml
  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: .github/workflows/awstest.yml
  • files_exist - File not found: .github/workflows/awsfulltest.yml
  • nextflow_config - Config manifest.version should end in dev: 1.12.0

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_unchanged - File ignored due to lint config: assets/sendmail_template.txt
  • actions_ci - actions_ci
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/fetchngs/fetchngs/.github/workflows/awstest.yml
  • multiqc_config - 'assets/multiqc_config.yml' not found

✅ Tests passed:

Run details

  • nf-core/tools version 2.13
  • Run at 2024-02-29 12:04:27

@drpatelh drpatelh merged commit 755ca35 into nf-core:dev Feb 29, 2024
40 checks passed
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