Skip to content

[GH-236] Fixed regex for hic_map_combinations #237

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

Merged
merged 1 commit into from
Jun 24, 2025
Merged

[GH-236] Fixed regex for hic_map_combinations #237

merged 1 commit into from
Jun 24, 2025

Conversation

GallVp
Copy link
Member

@GallVp GallVp commented Jun 24, 2025

PR checklist

  • hic_map_combinations flag does not take "tag1:tag2" #236
  • 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 pipelines 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).

@GallVp GallVp linked an issue Jun 24, 2025 that may be closed by this pull request
@GallVp GallVp requested a review from ignacio3437 June 24, 2025 21:17
script "./hicparam.nf"
function "checkHiCCombinationsParam"

test(" '' -- fail ") {
Copy link
Member Author

Choose a reason for hiding this comment

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

@ignacio3437

Please check if I have left out a common combination.

Choose a reason for hiding this comment

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

The regex doesn't make sense to me but if it passes the tests you described here then I think that covers all the cases I can think of.

Copy link
Member Author

Choose a reason for hiding this comment

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

Please try ^\w(\w+)*(\s?\w+(:\w+)?)*$ at https://regex101.com

If you go through the explanations, it will be easier to spot the mistake if any. Thank you!

Copy link

github-actions bot commented Jun 24, 2025

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

Posted for pipeline commit 0219626

+| ✅ 180 tests passed       |+
#| ❔  34 tests were ignored |#
!| ❗  24 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.3.1
  • Run at 2025-06-24 21:19:04

@GallVp GallVp merged commit 59d72ff into dev Jun 24, 2025
17 checks passed
@GallVp GallVp deleted the fix/gh236 branch June 24, 2025 21:47
@ignacio3437
Copy link

Does this close #236 ?

@GallVp
Copy link
Member Author

GallVp commented Jun 25, 2025

@ignacio3437

Yes, it has fixed the issue on the main branch. We are not closing issues till the code has made into the main branch and a release.

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.

hic_map_combinations flag does not take "tag1:tag2"
2 participants