Skip to content

Commit 3d73db4

Browse files
authored
Merge pull request #2022 from andamian/strtype
Fixed bug
2 parents fd93320 + 7bcfb0a commit 3d73db4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/alma/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,8 @@ def get_data_info(self, uids, expand_tarfiles=False,
634634
result = vstack([result, expanded_result], join_type='exact')
635635
else:
636636
result = result[np.logical_or(np.core.defchararray.find(
637-
result['semantics'], DATALINK_SEMANTICS) == -1,
638-
result['content_type'] != DATALINK_FILE_TYPE)]
637+
result['semantics'].astype(str), DATALINK_SEMANTICS) == -1,
638+
result['content_type'].astype(str) != DATALINK_FILE_TYPE)]
639639

640640
return result
641641

0 commit comments

Comments
 (0)