Skip to content

Commit 6dceccc

Browse files
committed
FIX: some ID columns are mixed cases, fix their int64 casting
1 parent 950a56d commit 6dceccc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ 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]
212+
213+
211214
simbad
212215
^^^^^^
213216

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'):
1043+
for id_column in ('objid', 'specobjid', 'objID', 'specobjID'):
10441044
if id_column in arr.columns:
10451045
arr[id_column] = arr[id_column].astype(np.int64)
10461046

0 commit comments

Comments
 (0)