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

Added compute_gene_scores nftest and standardized format of module #101

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

nschcolnicov
Copy link

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/nanostring branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link

github-actions bot commented Nov 19, 2024

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 27d092f

+| ✅ 199 tests passed       |+
!| ❗   2 tests had warnings |!

❗ Test warnings:

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-11-20 13:49:43

@@ -24,7 +24,7 @@ params {
config_profile_description = 'Minimal test dataset to check pipeline function'

// Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/nanostring/samplesheets/samplesheet_test.csv'
gene_score_yaml = 'https://raw.githubusercontent.com/nf-core/test-datasets/nanostring/gene_score_test.yaml'
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/nanostring/samplesheets/samplesheet_test.csv'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add the same params.pipelines_testdata_base_path here, like you did in the line after this one.

channels:
- conda-forge
- bioconda
- defaults

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaults channel should be removed from the environment.yml.

See:
nf-core/modules#5829

@@ -0,0 +1,16 @@
name: compute_gene_scores

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name is also removed in the new nf-core environment.yml specification convention.

@@ -1,7 +1,6 @@
process COMPUTE_GENE_SCORES {
label 'process_single'

conda "r-yaml=2.3.7 r-ggplot2=3.4.4 r-dplyr=1.1.4 r-stringr=1.5.0 bioconductor-gsva=1.46.0 bioconductor-singscore=1.18.0 r-factominer=2.8.0 r-tibble=3.2.1 r-matrixstats=1.1.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed conda but you didn't add the environment.yml

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also test the nf-test with --profile conda

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also tested with conda, and it worked for some reason, I'll update this

@nschcolnicov nschcolnicov merged commit b2e1d70 into dev Nov 20, 2024
9 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