Skip to content

Fix linting in CELLRANGER_MULTI#10138

Merged
LouisLeNezet merged 3 commits intonf-core:masterfrom
LouisLeNezet:cellranger_multi
Feb 24, 2026
Merged

Fix linting in CELLRANGER_MULTI#10138
LouisLeNezet merged 3 commits intonf-core:masterfrom
LouisLeNezet:cellranger_multi

Conversation

@LouisLeNezet
Copy link
Contributor

PR checklist

Closes #XXX

  • 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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@LouisLeNezet LouisLeNezet changed the title Fix linting in Cellranger multi Fix linting in CELLRANGER_MULTI Feb 23, 2026
@LouisLeNezet LouisLeNezet self-assigned this Feb 23, 2026

// the feature barcodes section get options for either CRISPR or antibody capture assays
fb_options = meta_ab?.options ? meta_ab.options : (meta_crispr?.options ? meta_crispr.options : [])
fb_options = ab_fastqs.first().getName() != 'fastqs' && meta_ab?.options ? meta_ab :
Copy link
Contributor

Choose a reason for hiding this comment

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

My brain can't figure out what is going on here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've updated it to match #9803
The aim of this option is to copy the meta map of ab_fatsqs if exist or the one from crispr and if none set it to empty.
I've just wrote it in a way consistent to the rest of the module.
I have to admit that this module is quite huge (maybe too much) and it's complicated to know what does what.

Copy link
Contributor

Choose a reason for hiding this comment

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

Definitely agree that this module is hard to understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, what should we do ?

Copy link
Contributor

@SPPearce SPPearce left a comment

Choose a reason for hiding this comment

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

Approve for now, and leave it for other people to worry about ;)

@LouisLeNezet LouisLeNezet added this pull request to the merge queue Feb 24, 2026
Merged via the queue into nf-core:master with commit 8d77619 Feb 24, 2026
27 checks passed
@LouisLeNezet LouisLeNezet deleted the cellranger_multi branch February 24, 2026 10:00
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