-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: dev
Are you sure you want to change the base?
Conversation
@@ -2,7 +2,7 @@ | |||
|
|||
import qiime2 | |||
|
|||
from genome_sampler.common import IDSelection | |||
from q2_types._format import IDSelection |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 _
.
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. |
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]