-
-
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
data instead of datasets #278
Conversation
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.
Thank you, I wonder if it would be better before merging this to include also passing the deep tests to be sure that everything works
mae_name, | ||
name_annotation = "symbol", | ||
sample_vars_as_factors = TRUE, | ||
with_mae_col_data = TRUE) { | ||
assert_string(id) | ||
assert_r6(datasets) | ||
assert_list(data) |
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 a way to make this more specific maybe? Otherwise ok as proposed
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.
yeah this PR is not done yet, in progress
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 have created an issue for the deep tests failures: #279
Code Coverage Summary
Results for commit: c41686e Minimum allowed coverage is ♻️ This comment has been updated with latest results |
mae <- datasets$get_data(mae_name, filtered = FALSE) | ||
mae <- data[[mae_name]]() | ||
experiment_name_choices <- names(mae) |
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.
This code was obsolete and not used therefore it was removed.
mae <- datasets$get_data(mae_name, filtered = FALSE) | ||
mae <- data[[mae_name]]() |
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 switch from non-filtered data to filtered data here should not have an impact as we are fetching the names of experiments only.
R/forestplot.R
Outdated
@@ -144,10 +145,13 @@ srv_g_forest_tte <- function(id, | |||
plot_height, | |||
plot_width) { | |||
with_reporter <- !missing(reporter) && inherits(reporter, "Reporter") | |||
with_filter <- !missing(filter_panel_api) && inherits(filter_panel_api, "FilterPanelAPI") |
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.
practically with_filter
isn't needed as as module depends on filter_panel_api
as experimentSpecServer
needs it.
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.
so if module depends on filter_panel_api then we should have stop_if_missing(filter_panel_api, "this module requires a filter panel see ....")
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.
with_filter
above was replaced with checkmate::assert_class(filter_panel_api, "FilterPanelAPI
in all modules using experimentSpecServer
.
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.
Changes straightforward not affecting functionality of the package. We will try to resolve deep tests problems, but these code changes doesn't seem to be a cause.
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 can remove MockDatasets
from tests/helper-data_funs.R
removed. |
closes #247
datasets
replaced bydata
in scripts and tests for Filtered and unfiltered dataTESTING_DEPTH = 5
are not passing