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

Add def for print_error function #145

Merged
merged 1 commit into from Sep 22, 2022
Merged

Add def for print_error function #145

merged 1 commit into from Sep 22, 2022

Conversation

vjmarteau
Copy link
Contributor

@vjmarteau vjmarteau commented Sep 22, 2022

Print_error() is currently not defined in the check_samplesheet.py script which leads to an error when the Samplesheet does not pass the checks. Copied the function def from the nf-core/rnaseq pipeline.

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/scrnaseq 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>).
  • 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).

@github-actions
Copy link

github-actions bot commented Sep 22, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 66d2e2f

+| ✅ 153 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • schema_lint - Schema 'description' should be 'Pipeline for processing 10x Genomics single cell rnaseq data'
    Found: 'Pipeline for processing of 10xGenomics single cell rnaseq data'

✅ Tests passed:

Run details

  • nf-core/tools version 2.5.1
  • Run at 2022-09-22 09:38:13

@apeltzer
Copy link
Member

@nf-core-bot fix linting

Copy link
Member

@apeltzer apeltzer left a comment

Choose a reason for hiding this comment

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

Just the linting fix missing, otherwise good 👍🏻

@apeltzer apeltzer merged commit 124f497 into nf-core:dev Sep 22, 2022
@github-actions
Copy link

Python linting (black) is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

  • Install black: pip install black
  • Fix formatting errors in your pipeline: black .

Once you push these changes the test should pass, and you can hide this comment 👍

We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!

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.

None yet

2 participants