astropy / astroquery

Functions and classes to access online data resources. Maintainers: @keflavich and @bsipocz and @ceb8
http://astroquery.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
706 stars 399 forks source link

Support case-insensitive query criteria #3087

Closed snbianco closed 2 months ago

snbianco commented 2 months ago

Observations.query_criteria and Catalogs.query_criteria now support case insensitivity for criteria keyword arguments. For example, the argument objtype is treated the same as objType.

snbianco commented 2 months ago

@dr-rodriguez

snbianco commented 2 months ago

Huh, that is weird. As far as I can tell, it seems like the results are being returned in a variable order for Pan-STARRS (at least). I've moved the page/pagesize check into a different query since the TIC doesn't seem to have this issue. I'll make a ticket on our side to look more closely at why the order of results is changing.