intermine / intermine/InterMineR
orderBy generates too many spaces in the newQuery method
- Dominant language
- R
- Stars
- 18
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
This R code
```r
# Create a new query
Pax6List = newQuery(
#here we're choosing which columns of data we'd like to see
view = c("Gene.primaryIdentifier",
"Gene.symbol"),
sortOrder = list("Gene.primaryIdentifier", "ASC"))
# Make a constraint:
listConstraint = setConstraints(
paths = c("Gene"),
operators = c("IN"),
values = list("PL_Pax6_Targets")
)
# Add the constraint to the query
Pax6List$where <- listConstraint
```
generates this XML:
```xml
```
Note that there are too many spaces in `sortOrder`. The space space BEFORE `Gene.primaryIdentifier` is ignored, but there is also a double space _between_ `Gene.primaryIdentifier` and `ASC`. This causes the InterMine server to throw a 400 error when it is run.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.