Skip to content

Commit 7bcfb0a

Browse files
Adrian DamianAdrian Damian
authored andcommitted
Fixed bug
1 parent 1a89486 commit 7bcfb0a

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)