VEuPathDB / service-eda

Repo containing EDA web service
Apache License 2.0
0 stars 0 forks source link

Unipartite network unable to complete processing when no data present #48

Open asizemore opened 2 months ago

asizemore commented 2 months ago

When testing the new network app, I found that if there is no data that passes the threshold, then we get an error:

Request to unipartitenetwork:

{"studyId":"BONUS-1","filters":[],"config":{"correlationCoefThreshold":0.75,"significanceThreshold":0.05},"computeConfig":{"prefilterThresholds":{"proportionNonZero":0.05,"variance":0,"standardDeviation":0},"data1":{"entityId":"OBI_0002623","collectionId":"EUPATH_0009253"},"correlationMethod":"pearson"}}

Response:

{
    "status": "server-error",
    "message": "Unable to complete processing",
    "requestId": "x3uM07cN4gAfbHZHJvRC7"
}

Screenshot (any study)

Screen Shot 2024-07-08 at 11 27 14 AM