-
Notifications
You must be signed in to change notification settings - Fork 1
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
Context Explorer v2 changes #202
base: master
Are you sure you want to change the base?
Conversation
acameron13
commented
Mar 4, 2025
- Adding subtype tree and context matrix creation to the data-prep-pipeline
- Editing the get_context_analysis script to return results for all new contexts
…ll levels and all types
…e sure I didn't miss anything
args.subtype_tree | ||
) | ||
|
||
if context_matrix is not None: |
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.
Is there ever a case where the context matrix being None isn't a gigantic problem? If None is not an acceptable result, should we just let this blow up here so we're aware sooner?
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.
I agree, I just took it out!
''' | ||
|
||
#sorting by full subtype name is important so that the level and parent | ||
#assignments don't get jumbled |
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.
I don't think I understand what this comment means. Do you have an example of what the level and parent assignments getting jumbled looks like?
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.
Just added a more in-depth explanation of what I mean!
) | ||
|
||
if subtype_tree is not None: | ||
subtype_tree.to_csv(args.output) |
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.
Like above, I wonder if we should take out this None check. Maybe I'm misunderstanding how this works.
…and causing problems early if things aren't right