Skip to content

Commit 69bcecf

Browse files
authored
Merge pull request #2806 from bsipocz/sdss_id_fix
FIX: casing some more sdss ID columns to int64
2 parents b448335 + 0e0449c commit 69bcecf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ sdss
208208
- Switching to https to avoid issues originating in relying on server side
209209
redirects. [#2654]
210210

211-
- Fix bug to have object IDs as integers on windows. [#2800]
211+
- Fix bug to have object IDs as integers on windows. [#2800, #2806]
212212

213213

214214
simbad

astroquery/sdss/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ def _parse_result(self, response, verbose=False):
10401040
warnings.filterwarnings("ignore", category=AstropyWarning,
10411041
message=r'OverflowError converting to IntType in column.*')
10421042
arr = Table.read(response.text, format='ascii.csv', comment="#")
1043-
for id_column in ('objid', 'specobjid', 'objID', 'specobjID'):
1043+
for id_column in ('objid', 'specobjid', 'objID', 'specobjID', 'specObjID'):
10441044
if id_column in arr.columns:
10451045
arr[id_column] = arr[id_column].astype(np.int64)
10461046

0 commit comments

Comments
 (0)