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

REF: group-timepoints to create Dist1D[nestedOrdered] #78

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from

Conversation

cherman2
Copy link
Contributor

@cherman2 cherman2 commented May 14, 2024

No description provided.

@cherman2 cherman2 marked this pull request as draft May 14, 2024 23:51
@cherman2
Copy link
Contributor Author

Linked to qiime2/q2-stats#21

@cherman2
Copy link
Contributor Author

Validator for Dist1D[Nested] here: qiime2/q2-stats#22

@cherman2 cherman2 changed the title NEW: ADD Prepare-group-timepoints REF: group-timepoints to create Dist1D[nestedOrdered] May 16, 2024
@cherman2 cherman2 marked this pull request as ready for review May 20, 2024 16:55
@cherman2 cherman2 added this to the Manuscript Prep milestone May 23, 2024
@cherman2 cherman2 requested a review from lizgehret May 29, 2024 18:10
@cherman2
Copy link
Contributor Author

Thanks @lizgehret for taking a look at this. Let me know if you need any clarification!

Copy link
Member

@lizgehret lizgehret left a comment

Choose a reason for hiding this comment

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

overall this lgtm @cherman2, just a couple of stray print statements that could be removed!

q2_fmt/_engraftment.py Outdated Show resolved Hide resolved
q2_fmt/_engraftment.py Outdated Show resolved Hide resolved
q2_fmt/_engraftment.py Outdated Show resolved Hide resolved
q2_fmt/_engraftment.py Outdated Show resolved Hide resolved
q2_fmt/_engraftment.py Outdated Show resolved Hide resolved
@cherman2
Copy link
Contributor Author

Thanks @lizgehret,
Those suggestions have been addressed! I also edited a comment that mentioned GroupDists (commit dd4d19d)

@cherman2 cherman2 requested a review from lizgehret June 11, 2024 21:38
@lizgehret
Copy link
Member

Whoah, not sure what happened to CI here - setup & lint shouldn't be running twice. @cherman2 can you try pushing up another commit (maybe just fixing the lint error) to see if this was just a stochastic issue?

@cherman2
Copy link
Contributor Author

Seems like that fixed it @lizgehret

@lizgehret
Copy link
Member

Hmm, this is interesting - your TypeMap looks identical to your T_subject, T_dependence one (which seems like it mirrors the use-case for this one). Were you getting these failures locally as well?

@cherman2
Copy link
Contributor Author

cherman2 commented Jun 12, 2024

I don't remember getting these failures when I marked the PR ready for review but I am getting them locally. Seems like the subject map is doing a check that I am not doing. I think the check is on line 230 of _engraftment.py

edit: yup that was it

@cherman2
Copy link
Contributor Author

New error and explanation... I apparently didn't hook up group to engraftment pipeline, so when we pass group into grouptimes in the pipeline it errors. I will fix this but It might take me a minute since this isn't as minor of an edit and im OOO.

@lizgehret
Copy link
Member

New error and explanation... I apparently didn't hook up group to engraftment pipeline, so when we pass group into grouptimes in the pipeline it errors. I will fix this but It might take me a minute since this isn't as minor of an edit and im OOO.

Gotcha, that makes sense - just ping me when you're ready for another round of review!

@cherman2
Copy link
Contributor Author

Alright, I remembered why engraftment didn't get hooked up. I don't have the stats I need to use the pipeline effectively yet. So for now I think Dist1D[nestedOrdered] should only be possible outside of the engraftment pipeline. Once I have those stats I will hook up engraftment pipeline to make Dist1D[nestedOrdered]. Issue #80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Development
Development

Successfully merging this pull request may close these issues.

None yet

2 participants