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

Dev #615

Merged
merged 10 commits into from
Aug 11, 2023
Merged

Dev #615

merged 10 commits into from
Aug 11, 2023

Conversation

a4000
Copy link
Contributor

@a4000 a4000 commented Aug 8, 2023

Addresses #612

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
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • 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 Aug 8, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 4baba81

+| ✅ 152 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.
  • schema_lint - Parameter input is not defined in the correct subschema (input_output_options)

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.9
  • Run at 2023-08-10 09:23:16

Copy link
Member

@erikrikarddaniel erikrikarddaniel left a comment

Choose a reason for hiding this comment

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

Looks fine to me, but I know you discussed with @d4straub so maybe wait for another review from him.

modules/local/phyloseq.nf Outdated Show resolved Hide resolved
workflows/ampliseq.nf Outdated Show resolved Hide resolved
workflows/ampliseq.nf Outdated Show resolved Hide resolved
workflows/ampliseq.nf Outdated Show resolved Hide resolved
@erikrikarddaniel
Copy link
Member

Now I see some tests fail because of updates with 2.9 tools. @d4straub updated to the new template yesterday.

a4000 and others added 4 commits August 8, 2023 14:15
modules/local/phyloseq.nf Outdated Show resolved Hide resolved
Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

That looks thorough, great!

Could you merge the recently added PR #614? That should solve the failing test nf-core linting / nf-core . nf-core linting / EditorConfig is caused by trailing whitespaces, you could avoid that by using VSC and nf-core extensions, if you wished to (or just take care manually). nf-core linting / PythonBlack can be solved by black.

Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

Looks good to me. Do you want to merge it?

TAX <- tax_table(tax_mat)
phy_obj <- phyloseq(OTU, TAX)

if (file.exists($sam_tsv)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am not aware of any example for conditional input that uses file.exists($file), so I am a little skeptic here. It might be working fine locally and on github, but we will need to see whether that works also on other systems. But easy enough to change in case it needs to be modified.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good point. I did my testing on a Linux server, but I'm hoping it would work on other systems.

subworkflows/local/phyloseq_workflow.nf Show resolved Hide resolved
@a4000 a4000 merged commit ab5add3 into nf-core:dev Aug 11, 2023
16 checks passed
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.

3 participants