Dear all,

when using the 'XML' button in martview, and asking for
upstream_flank, we may get something similar to this:

<Filter name = "upstream_flank" value = "800"/>
<Attribute name = "gene_stable_id" />
<Attribute name = "5utr" />

In the system I'm building, there's an automatic check for the
correctness of attributes and filters in generated queries. Attributes
and filters are checked against the lists, returned by
?type=attributes&dataset=
and
?type=filters&dataset=
requests, respectively.

However, 'upstream_flank' is not present in the list of filters; it is
present in the list of attributes, though.

This looks somewhat inconsistent to me. For now, I introduced a small
hack to my code to bypass 'upstream_flank' when checking.

Is there any explanation/grounds for this design of the system?

Thanks beforehand,

--
Sincerely yours,
Bogdan Tokovenko,
PhD student at the Laboratory of Protein Biosynthesis,
Department of Genetic Information Translation Mechanisms,
Institute of Molecular Biology and Genetics, Kyiv, Ukraine
http://bogdan.org.ua/

Reply via email to