-
Notifications
You must be signed in to change notification settings - Fork 99
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
Automatic generated algorithms for body mass index are not applied #4375
Comments
@mark-de-haan you have added a nice layout but removed 2/3 of my findings. Please put them back. |
Because they are all caused by the same thing. The template algorithm is not being applied. Writing down three things describing the same bug seems a bit redundant.. |
You should not rewrite my finding without consulting me! Except for minor changes! |
I did understand them, thats why I removed them. The wall of text was unclear in describing the issue. Next time I will consult you. |
No longer an issue in v5.0.0. Although different algorithms are applied, the result is the same. |
Discussed with @ChaoPang : For the algorithm template to work, we need to have the explain API available when manually selecting attributes. This is much bigger then just a bug fix and should be a story.
The core of this problem can be the same but it should work on the next 2 different cases!
--- CASE 1 of 2 --- [Automatic tagging]
Reproduce
Download the folder (real_examples) at: https://drive.google.com/drive/folders/0B7qHi41THTs_T3BnaHY2TGJ1Mzg
"Demo target data and source data
"Demo ontology files:
"Demo magma script type and algorithm template file:
Go to the "Tag wizard"
Select the entity to tag HOP_selenium
Make sure that you tag it automatically with: "biobank_ontology" and "uo" ontologies.
Go to the MappingService
Create a new mapping project. Use HOP_selenium as target with name HOP TEST.
Add the "lifelines_test" source.
Click on attribute "Body Mass Index kg/m^2 (decimal)" to map it.
Search on: Weight Height (You will get 4 results)
Select: [HEIGHT_2] and [WEIGHT]
Expected
Algorithm:
Observed
Algorithm is not applied!
The produced algorithm:
--- CASE 2 of 2 --- [Manual tagging]
Explain:
Reproduce
Continue from case 1
Go to the "Tag wizard"
Select the entity to tag HOP_selenium
Remove all tags
Please add the tags "Weight" and "Height" to attribute "Body_Mass_Index_1 Body Mass Index kg/m^2" of the entity "HOP_selenium".
Go to the "MappingService"
Use the already existing HOP_selenium mapping.
Remove the "lifelines_test" source.
Add the "lifelines_test" source.
Click on attribute "Body Mass Index kg/m^2 (decimal)" to map it.
(You will get 4 results)
[HEIGHT_2] and [WEIGHT] are selected.
The algorithm:
Click on Height and Unclick it.
[HEIGHT_2] and [WEIGHT] are still selected.
Expected
Algorithm:
Observed
Algorithm is not applied!
The produced algorithm:
The text was updated successfully, but these errors were encountered: