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
`astroquery.gaia.GaiaClass` contained a handful of needless argument
checks:
- In `load_data()` separately checking for `retrieval_type` being `None`
is not needed because the value is checked later on, unless
`avoid_datatype_check` is explicitly set to `True`.
- In `load_data()` checking for `ids` being `None` only makes a
difference if `None` is the explicitly specified value, but any other
possible invalid value would pass this check, so it is not very useful.
- In `cross_match()` several arguments were given default values and the
code then checked if any of those arguments had the default value. It
is better to not specify the default value at all and to let Python
itself ensure that the mandatory argument values are specified.
0 commit comments