VEuPathDB / EdaDataService

Apache License 2.0
2 stars 0 forks source link

Map: Overlay variables where any value includes an apostrophe dont work #274

Closed d-callan closed 1 year ago

d-callan commented 1 year ago

an ex of a broken request, from @bobular


    "config": {
        "outputEntityId": "EUPATH_0000096",
        "overlayConfig": {
            "overlayType": "categorical",
            "overlayValues": [
                "Cote d'Ivoire",
                "Kenya",
                "Tanzania"
            ],
            "overlayVariable": {
                "entityId": "EUPATH_0035127",
                "variableId": "ENVO_00000009"
            }
        },
        "xAxisVariable": {
            "entityId": "EUPATH_0035127",
            "variableId": "EUPATH_0044175"
        },
        "yAxisVariable": {
            "entityId": "EUPATH_0000096",
            "variableId": "OBI_0003075"
        }
    },
    "filters": [
        {
            "entityId": "EUPATH_0035127",
            "max": 15.368949896534705,
            "min": -21.002471054356725,
            "type": "numberRange",
            "variableId": "OBI_0001620"
        },
        {
            "entityId": "EUPATH_0035127",
            "left": -20.039062500000004,
            "right": 47.63671875000001,
            "type": "longitudeRange",
            "variableId": "OBI_0001621"
        }
    ],
    "studyId": "SCORECX01-1"
}
d-callan commented 1 year ago

the trouble should be in getRBinListAsString in OverlaySpecification.java