Skip to content

Commit

Permalink
Linting: Remove 'defaults' from conda environment.yml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Jun 19, 2024
1 parent 4157a20 commit 1e47693
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion nf_core/module-template/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ name: "{{ component_name_underscore }}"
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- "{{ bioconda if bioconda else 'YOUR-TOOL-HERE' }}"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ profiles {
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
conda.channels = ['conda-forge', 'bioconda', 'defaults']
conda.channels = ['conda-forge', 'bioconda']
apptainer.enabled = false
}
mamba {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_load_pipeline_config(self):
# def test_load_conda_env(self):
# """Load the pipeline Conda environment.yml file"""
# self.pipeline_obj._load_conda_environment()
# assert self.pipeline_obj.conda_config["channels"] == ["conda-forge", "bioconda", "defaults"]
# assert self.pipeline_obj.conda_config["channels"] == ["conda-forge", "bioconda"]

def test_list_files_git(self):
"""Test listing pipeline files using `git ls`"""
Expand Down

0 comments on commit 1e47693

Please sign in to comment.