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

MAINT: moving Selection type, IDSelection formats to q2-types #98

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

lizgehret
Copy link
Collaborator

This PR is paired with another in q2-types, which moves over the following semantic type, formats, and associated transformers:

File/directory formats:
UNIXListFormat
IDSelection
IDSelectionDirectoryFormat
IDMetadataFormat

Semantic Type:
FeatureData[Selection]

@lizgehret lizgehret changed the title maint: moving Selection type, IDSelection formats to q2-types MAINT: moving Selection type, IDSelection formats to q2-types Dec 11, 2023
@@ -2,7 +2,7 @@

import qiime2

from genome_sampler.common import IDSelection
from q2_types._format import IDSelection
Copy link
Member

@gregcaporaso gregcaporaso Dec 11, 2023

Choose a reason for hiding this comment

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

We should avoid importing from _format as the _ files are private by convention (so no guarantee that this import will continue to work in the future).

Update: we should be able to get this from q2_types.feature_data

@@ -27,13 +26,10 @@
AlignedSequence,
)

from q2_types._type import Selection
Copy link
Member

Choose a reason for hiding this comment

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

Same comment as above re: importing from files starting with _.

@gregcaporaso gregcaporaso self-assigned this Dec 11, 2023
@gregcaporaso gregcaporaso marked this pull request as draft December 12, 2023 19:22
@gregcaporaso
Copy link
Member

We're not going to move forward with this transition right now, as discussed in the linked PR. We may circle back to this in the future, so we're leaving this as a draft PR.

@gregcaporaso gregcaporaso removed their assignment Dec 13, 2023
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.

2 participants