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

Made the hic param pattern more flexible #131

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Made the hic param pattern more flexible #131

merged 2 commits into from
Sep 18, 2024

Conversation

GallVp
Copy link
Member

@GallVp GallVp commented Sep 18, 2024

PR checklist

  • Made the hic param pattern more flexible
  • 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
  • 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 Sep 18, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 8ae1983

+| ✅ 197 tests passed       |+
#| ❔  24 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • schema_lint - Schema $id should be https://raw.githubusercontent.com/plant-food-research-open/assemblyqc/master/nextflow_schema.json
    Found https://raw.githubusercontent.com/plant-food-research-open/assemblyqc/main/nextflow_schema.json

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: assets/nf-core-assemblyqc_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-assemblyqc_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-assemblyqc_logo_dark.png
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: assets/multiqc_config.yml
  • files_exist - File is ignored: conf/igenomes.config
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File does not exist: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: .github/workflows/branch.yml
  • files_unchanged - File does not exist: assets/nf-core-assemblyqc_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-assemblyqc_logo_light.png
  • files_unchanged - File does not exist: docs/images/nf-core-assemblyqc_logo_dark.png
  • files_unchanged - File ignored due to lint config: docs/README.md
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/assemblyqc/assemblyqc/.github/workflows/awstest.yml
  • template_strings - template_strings
  • multiqc_config - multiqc_config

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-09-18 22:49:15

@GallVp
Copy link
Member Author

GallVp commented Sep 18, 2024

For visibility, @SarahBailey1998, @ignacio3437

script "./hicparam.nf"
function "checkHiCParam"

test("Dummy_hic.R{1,2}.fq.gz") {
Copy link
Member Author

Choose a reason for hiding this comment

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

@SarahBailey1998, @ignacio3437

The permissible patterns are tested here. Are we missing something?

Choose a reason for hiding this comment

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

would "dummy_hic_{1,2).merged.fastq.gz be allowed?

Copy link
Member Author

Choose a reason for hiding this comment

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

If you mean: dummy_hic_{1,2}.merged.fastq.gz and not dummy_hic_{1,2).merged.fastq.gz, then yes.

The permissible pattern is ^\S+\{1,2\}[\w\.]*\.f(ast)?q\.gz$

\S+ will cover the dummy_hic_ part

We can test it here: https://regex101.com

Choose a reason for hiding this comment

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

yeah that's what I mean, I made a typo sorry! Awesome

@GallVp GallVp merged commit 4ce3fdb into dev Sep 18, 2024
8 checks passed
@GallVp GallVp deleted the fix/hic_param branch September 18, 2024 23:01
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