intermine / intermine/InterMineR

Add support for ONE OF constraints

Open
#55 2 comments 0 reactions 0 assignees View on GitHub
hacktoberfest
Dominant language
R
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

`ONE OF` constraints aren't handled correctly by InterMineR and convert to invalid query XML.

```r
pancreasConstraint1 = setConstraints(
paths = c("Gene", "Gene.proteinAtlasExpression.level", "Gene.proteinAtlasExpression.tissue.name"),
operators = c("IN", "ONE OF", "="),
values = list("PL_DiabetesGenes", c("Medium", "High"), "Pancreas")
)
```

This constraint will return a 400 when run, because it's creating the following XML:

```xml





```

But it should be making something more like:

```xml



Medium
High



```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.