-
Notifications
You must be signed in to change notification settings - Fork 15
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
simplify_analysis-III #352
Conversation
|
||
else: | ||
st.info("Import Data first") | ||
# TODO do we want to save statistical analysis to results page as well? |
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.
The answer was yes. Resolve and merge if this was implemented in the meantime.
if "settings" in list(method_dict.keys()): | ||
settings_dict = method_dict.get("settings") | ||
if "settings" not in method_dict: | ||
# TODO: is this check really required here? If so, refactor to be part of plotting/statistic_options |
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 am confused by this, too. Has this resolved in the meantime?
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.
yes, this logic is now explicit
) | ||
|
||
if group != default_option: | ||
unique_values = get_unique_values_from_column(column=group) | ||
unique_values = dataset.metadata[group].unique().tolist() |
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.
Nice!
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.
Great sorting effort
simplifies the Analysis and Results page.
Note that I also changed the behaviour: plots are only saved to the "results" page on request.