[InterMine Dev] The loop query doesn't work

Chen, Yi-An chenyian at nibiohn.go.jp
Tue Jun 25 05:19:21 BST 2019


Hi,

I found that the loop constraint doesn't work now.

For example, I tried the following query in FlyMine:
<query name="" model="genomic" view="Gene.primaryIdentifier Gene.symbol 
Gene.interactions.participant2.primaryIdentifier 
Gene.interactions.participant2.symbol 
Gene.interactions.participant2.interactions.participant2.primaryIdentifier 
Gene.interactions.participant2.interactions.participant2.symbol" 
longDescription="For a specified gene, show physical and genetic 
interaction partners.  Optionally constrain to show just physical or 
genetic interactions or interactions determined by a specific method." 
sortOrder="Gene.primaryIdentifier asc" constraintLogic="A and B">
   <constraint path="Gene" code="A" op="LOOKUP" value="notch" 
extraValue="D. melanogaster"/>
   <constraint path="Gene" code="B" op="!=" 
loopPath="Gene.interactions.participant2.interactions.participant2"/>
</query>

And I got the following error message:
XML is not well formatted. Got <query model="genomic" 
view="Gene.primaryIdentifier Gene.symbol 
Gene.interactions.participant2.primaryIdentifier 
Gene.interactions.participant2.symbol 
Gene.interactions.participant2.interactions.participant2.primaryIdentifier 
Gene.interactions.participant2.interactions.participant2.symbol" 
sortOrder="Gene.primaryIdentifier ASC" constraintLogic="A and B" 
 ><constraint path="Gene" op="LOOKUP" value="notch" extraValue="D. 
melanogaster" code="A" /><constraint path="Gene" op="!=" code="B" 
/></query>.

I guess the loop constraint was not processed correctly and it was 
truncated.

Thanks in advance,

Yi-An Chen




More information about the dev mailing list