ChristopherWilks / snaptron

fast webservices based query tool for large sets of genomic features
Other
25 stars 7 forks source link

Wrong header returned for GET while specifying fields #4

Closed PhaniGaddipati closed 8 years ago

PhaniGaddipati commented 8 years ago

Request: http://stingray.cs.jhu.edu:8090/srav1/snaptron?regions=cd99&fields=snaptron_id

Response: snaptron_id SRA:I 41338338 SRA:I 41338408 ....

The header is missing the DataSource:Type header column

ChristopherWilks commented 8 years ago

should be fixed, but I still need to come up with a test (I currently only test for the ids themselves, not the format)

ChristopherWilks commented 8 years ago

now have a test for this which catches this specific error