Skip to content

Commit 990f510

Browse files
committed
Merge remote-tracking branch 'origin/develop' into fb_crossSampleTypeWarnings
2 parents cc83bc6 + 88b59dc commit 990f510

2 files changed

Lines changed: 42 additions & 1 deletion

File tree

data/api/rlabkey-api-query.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,4 +625,45 @@
625625
]]>
626626
</response>
627627
</test>
628+
<test name="make filters" type="post">
629+
<url>
630+
<![CDATA[
631+
library(Rlabkey)
632+
makeFilter(
633+
c("foo/Reagent", "CONTAINS", "this or that"),
634+
c("Temp_C", "GREATER_THAN", "12"),
635+
c("SystolicBloodPressure", "MISSING", ""))
636+
]]>
637+
</url>
638+
<response>
639+
<![CDATA[
640+
[1] "query.foo%2FReagent~contains=this%20or%20that"
641+
[2] "query.Temp_C~gt=12"
642+
[3] "query.SystolicBloodPressure~isblank="
643+
]]>
644+
</response>
645+
</test>
646+
<test name="make filters as list" type="post">
647+
<url>
648+
<![CDATA[
649+
library(Rlabkey)
650+
makeFilter(
651+
c("foo/Reagent", "CONTAINS", "this or that"),
652+
c("Temp_C", "GREATER_THAN", "12"),
653+
c("SystolicBloodPressure", "MISSING", ""), asList=TRUE)
654+
]]>
655+
</url>
656+
<response>
657+
<![CDATA[
658+
$`query.foo/Reagent~contains`
659+
[1] "this or that"
660+
661+
$`query.Temp_C~gt`
662+
[1] "12"
663+
664+
$`query.SystolicBloodPressure~isblank`
665+
[1] ""
666+
]]>
667+
</response>
668+
</test>
628669
</ApiTests>

data/api/rlabkey-api.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<url>
3131
<![CDATA[
3232
library(Rlabkey)
33-
print(labkey.getFolders(labkey.url.base, "/%projectName%", includeEffectivePermissions=FALSE))
33+
print(labkey.getFolders(labkey.url.base, "/%projectName%", includeEffectivePermissions=FALSE, includeSubfolders=TRUE))
3434
]]>
3535
</url>
3636
<response>

0 commit comments

Comments
 (0)