We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1594c commit d706c69Copy full SHA for d706c69
astroquery/nrao/core.py
@@ -42,10 +42,10 @@ def wrapper(*args, **kwargs):
42
.format(Nrao.telescope_config))
43
if isinstance(obs_band, (list, tuple)):
44
for ob in obs_band:
45
- if ob.upper() not in Nrao.obs_bands:
+ if ob not in Nrao.obs_bands:
46
raise ValueError("'obs_band' must be one of {!s}"
47
.format(Nrao.obs_bands))
48
- elif obs_band.upper() not in Nrao.obs_bands:
+ elif obs_band not in Nrao.obs_bands:
49
50
51
if sub_array not in Nrao.subarrays and sub_array != 'all':
@@ -74,7 +74,7 @@ class NraoClass(QueryWithLogin):
74
telescope_config = ['ALL', 'A', 'AB', 'BnA', 'B', 'BC', 'CnB', 'C',
75
'CD', 'DnC', 'D', 'DA']
76
77
- obs_bands = ['ALL', '4', 'P', 'L', 'S', 'C', 'X', 'U', 'K', 'Ka', 'Q', 'W']
+ obs_bands = ['ALL', 'all', '4', 'P', 'L', 'S', 'C', 'X', 'U', 'K', 'Ka', 'Q', 'W']
78
79
subarrays = ['ALL', 1, 2, 3, 4, 5]
80
0 commit comments