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

New attempt to add merfin/hist module #5352

Merged
merged 15 commits into from
Apr 3, 2024

Conversation

rodtheo
Copy link
Contributor

@rodtheo rodtheo commented Mar 20, 2024

PR checklist

Closes #5136

  • This PR implements the module merfin/hist. Its a new attempt after incorporating suggestions mentioned in merfin_hist module added #5300.
  • 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.
  • Emit the versions.yml file.
  • 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

@rodtheo rodtheo requested a review from a team as a code owner March 20, 2024 17:41
@rodtheo rodtheo requested review from kpadm and removed request for a team March 20, 2024 17:41
@rodtheo
Copy link
Contributor Author

rodtheo commented Mar 21, 2024

@itrujnara, any chances to review it again? Thanks for considering my request.

Copy link
Contributor

@itrujnara itrujnara left a comment

Choose a reason for hiding this comment

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

Nice! Stub test is missing, otherwise looks good.

@rodtheo rodtheo requested a review from mahesh-panchal as a code owner March 21, 2024 20:14
Copy link
Contributor

@itrujnara itrujnara left a comment

Choose a reason for hiding this comment

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

The new modules looks good now. I was puzzled by the random changes to other modules, but I assume these are for the stub test and thus relevant. Merge at your discretion.

@rodtheo rodtheo added this pull request to the merge queue Mar 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 25, 2024
Copy link
Member

@mahesh-panchal mahesh-panchal left a comment

Choose a reason for hiding this comment

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

Thanks for updating the stubs

@rodtheo
Copy link
Contributor Author

rodtheo commented Mar 26, 2024

Thanks for updating the stubs

I'm glade to contribute! However I'm still getting an error related to genomescope2 running tests in conda environment. Any tips on why this is happening?

@rodtheo rodtheo enabled auto-merge March 26, 2024 12:39
@mahesh-panchal
Copy link
Member

Thanks for updating the stubs

I'm glade to contribute! However I'm still getting an error related to genomescope2 running tests in conda environment. Any tips on why this is happening?

I'm not entirely clear, but I'm going to make a PR to your branch at some point in the coming days to try and fix the test.

@rodtheo rodtheo added this pull request to the merge queue Mar 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 26, 2024
Copy link
Member

@mahesh-panchal mahesh-panchal left a comment

Choose a reason for hiding this comment

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

Requesting changes to remove the hack. The module itself should have been corrected first rather than add a hack to the module test. My apologies for not picking this up earlier.

See #5399 for the updated module PR for Genomescope2

modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
@mahesh-panchal
Copy link
Member

#5401 should also remove the need to have the fixes for the linting checks here.
You've been added as co-author on the relevant commits in those other PRs.

Copy link
Member

@mahesh-panchal mahesh-panchal left a comment

Choose a reason for hiding this comment

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

Aside from styling, there's a few things to clean up still and one thing to investigate.

modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/modules.config Outdated Show resolved Hide resolved
modules/nf-core/merfin/hist/tests/main.nf.test Outdated Show resolved Hide resolved
Copy link
Member

@mahesh-panchal mahesh-panchal left a comment

Choose a reason for hiding this comment

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

Nice work. Thank you. Sorry about all the changes.

@rodtheo
Copy link
Contributor Author

rodtheo commented Apr 2, 2024

Nice work. Thank you. Sorry about all the changes.

No worries, thank you for your valuable tips and suggestions. I've learned a lot.

@rodtheo rodtheo added this pull request to the merge queue Apr 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@rodtheo rodtheo added this pull request to the merge queue Apr 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@rodtheo rodtheo added this pull request to the merge queue Apr 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@rodtheo rodtheo added this pull request to the merge queue Apr 2, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2024
@mahesh-panchal mahesh-panchal enabled auto-merge April 3, 2024 08:09
@mahesh-panchal mahesh-panchal added this pull request to the merge queue Apr 3, 2024
Merged via the queue into nf-core:master with commit 7ca98cf Apr 3, 2024
11 checks passed
@rodtheo rodtheo deleted the merfin_hist_v2 branch April 3, 2024 10:21
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.

new module: merfin/hist
3 participants