Skip to content

downloadModel API call with reactionIds with errors

Currently the API call to download a diagram part by reactionIds:

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project/models/665:downloadModel?handlerClass=lcsb.mapviewer.converter.model.celldesigner.CellDesignerXmlParser&reactionIds=1032' -i -X GET

does not behave properly. In the following example diagram: minervar_example

when calling for: curl 'https://minerva-dev.lcsb.uni.lu/minerva/api/projects/minervar_example/models/2578:downloadModel?handlerClass=lcsb.mapviewer.converter.model.celldesigner.CellDesignerXmlParser&reactionIds=496329' -i -X GET

I get the diagram as in the picture, one element (DRD2) should not be there.

Screenshot_2022-09-21_at_11.42.06