Skip to content

Conversation

@MeriamOs
Copy link
Collaborator

@MeriamOs MeriamOs commented Apr 8, 2025

nf-core/coproid pull request

These changes fix the reviewer comments left by @itrujnara

PR checklist

  • This comment contains a description of changes (with reason)
  • If necessary, also make a PR on the nf-core/coproid branch on the nf-core/test-datasets repo
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Make sure your code lints (nf-core lint .).
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

Learn more about contributing: CONTRIBUTING.md

@MeriamOs MeriamOs requested a review from itrujnara April 9, 2025 00:00
@MeriamOs MeriamOs mentioned this pull request Apr 9, 2025
7 tasks
Copy link

@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 work on the comments, though you've mixed changes from both reviews. Not a huge problem. I have some minor questions.

Choose a reason for hiding this comment

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

I like the idea. Have you made this emoji or verified the license for it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good question, I didn't make the logo, this one has been in use for 5 years for the first pipeline, so didn't think about a license tbh!
See https://github.com/nf-core/coproid/blob/master/assets/img/coproid_logo.png

I can replace it with this one though - the one in _extensions is used for the quarto report.
https://github.com/nf-core/coproid/blob/MeriamOs-review2-fixes/assets/nf-core-coproid_logo_light.png

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have changed the logo for quarto to be the same as on the README

# Written by Maxime Borry, released under the MIT license
# See https://opensource.org/license/mit for details

"""Creates an acc2tax mapping file from a genome FASTA."""

Choose a reason for hiding this comment

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

Docstrings should be in imperative mood, i.e., "create a file", not "creates a file"
https://peps.python.org/pep-0257/

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed now

cat <<-END_VERSIONS > versions.yml
"${task.process}":
python: \$(python --version | sed 's/Python //g')
END_VERSIONS

Choose a reason for hiding this comment

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

Are stubs planned? If not, make an issue for a future release and let me know

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have added stubs to the local modules now

Copy link

@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.

Everything looks fine now

@maxibor maxibor merged commit 6465808 into dev Apr 28, 2025
7 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.

4 participants