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

ENH: add 'filter-contigs' action #92

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

misialq
Copy link
Contributor

@misialq misialq commented Jul 12, 2024

Closes #91.
Closes #84.

@misialq misialq marked this pull request as draft July 12, 2024 08:49
@misialq misialq requested a review from VinzentRisch October 14, 2024 07:44
Copy link
Contributor

@VinzentRisch VinzentRisch left a comment

Choose a reason for hiding this comment

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

Hey Michal
The actions needs a validation step that checks if the parameter combination is allowed.

  • The action can be run without any parameter what will just copy the artifact without any filtering. I think there should rather be an error message.
  • I can use the action without the metadata parameter but with the where parameter. How I understand it, the where parameter then has no effect. This should also lead to an error.

"criteria that must be met to be included in the filtered "
"data. If not provided, all samples in `metadata` that are "
"also in the contig data will be retained.",
"exclude_ids": "Defaults to False. If True, the samples selected by "
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"exclude_ids": "Defaults to False. If True, the samples selected by "
"exclude_ids": "If True, the samples selected by "

Default is already displayed

@misialq misialq requested a review from Copilot November 19, 2024 20:49

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated no suggestions.

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.

ENH: filter contigs by length ENH: add an action to filter SampleData[Contigs]
2 participants