-
Notifications
You must be signed in to change notification settings - Fork 19
Description
The current code is, correctly, using the JSON files: https://github.com/wikipathways/wikipathways-database/blob/main/scripts/meta-data-action/configGenerator.sh
But the following lines need updating: https://github.com/wikipathways/wikipathways-database/blob/main/scripts/meta-data-action/configGenerator.sh#L15-L19
Basically, we should download only those files that have been tested with a certain tool. For some entries the JSON already had a tested field, indicating if they work with PathVisio 3.3 (PV33).
For the Docker building (and thus the webservice, WS in the JSON) I found that adding this to the jq step makes it do what I want: | select(.tested) | select(.tested|.[]|test(.|"WS"))
But I think I need your help because I am not entirely sure what the above code is expected to do, @AlexanderPico.