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

Add boolean field for Adaptation Project into $StudyInfo #23

Closed
patrickkaleta opened this issue Jul 14, 2020 · 2 comments
Closed

Add boolean field for Adaptation Project into $StudyInfo #23

patrickkaleta opened this issue Jul 14, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@patrickkaleta
Copy link
Contributor

Since we want to remove the Study variant fieldfrom the Study Scenario object, we need to add it separately to the $studyInfo object, so that the Map and Table components can query and filter data for the baseline and for the adapted scenario.
Boolean field has_adapted_scenario will be set based on whether or not the Study contains an "Adaptation Project" Group node.

In the process the study_variant attribute will be removed from the study_scenarios and study_presets of the $studyInfo object.

@patrickkaleta patrickkaleta added the enhancement New feature or request label Jul 14, 2020
@patrickkaleta patrickkaleta self-assigned this Jul 14, 2020
@patrickkaleta
Copy link
Contributor Author

FYI: @p-a-s-c-a-l and @therter
This is now available on DEV for further testing. study_variant is now gone from the study_scenarios and study_presets and instead has its own boolean field called has_adapted_scenario inside the $studyInfo object.

adapted_scenario

@p-a-s-c-a-l
Copy link
Member

Implemented in clarity-h2020/map-component#100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants