You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see this error in astroquery for a while, and traced it back to parsing the alias field, where it has a HTML tag. Neither cvs, google spreadsheet nor astropy's Table.read could parse it correctly. All the while the JSON format seems to work as expected.
I'm not sure whether this is a database entry issue or API issue. Likely the former as other objects parse OK, though idealy the API could do a sanity check for the values.
However, we didn't receive any user complaints, and I'm not sure so I just go ahead and will remove the data_format kwarg, as it shouldn't really matter to the astroquery end user what format was used in the query for the server.
I see this error in astroquery for a while, and traced it back to parsing the
alias
field, where it has a HTML tag. Neithercvs
, google spreadsheet nor astropy's Table.read could parse it correctly. All the while the JSON format seems to work as expected.I'm not sure whether this is a database entry issue or API issue. Likely the former as other objects parse OK, though idealy the API could do a sanity check for the values.
However, we didn't receive any user complaints, and I'm not sure so I just go ahead and will remove the
data_format
kwarg, as it shouldn't really matter to the astroquery end user what format was used in the query for the server.<a id="PSNJ09554214+6940260">PSN J09554214+6940260</a>,iPTF14jj"
https://api.astrocats.space/SN2014J?format=csv
Edit: downstream workaround ended up being removing the HTML tag: astropy/astroquery#2423
https://api.astrocats.space/SN2014J?format=json
The text was updated successfully, but these errors were encountered: