Richard Guo
commited on
Commit
·
ae7183e
1
Parent(s):
1779f92
indexable field debug
Browse files- build_map.py +2 -0
build_map.py
CHANGED
@@ -149,7 +149,9 @@ def upload_dataset_to_atlas(dataset_dict,
|
|
149 |
length = 0
|
150 |
for i in range(len(dataset_dict["head"])):
|
151 |
ex = dataset_dict["head"].take([i])
|
|
|
152 |
if ex[field]:
|
|
|
153 |
length += len(ex[field].split())
|
154 |
if length > longest_length:
|
155 |
longest_length = length
|
|
|
149 |
length = 0
|
150 |
for i in range(len(dataset_dict["head"])):
|
151 |
ex = dataset_dict["head"].take([i])
|
152 |
+
print(ex)
|
153 |
if ex[field]:
|
154 |
+
print(ex[field])
|
155 |
length += len(ex[field].split())
|
156 |
if length > longest_length:
|
157 |
longest_length = length
|