Skip to content

Commit

Permalink
fix: step during filtering terms extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
FracassandoCasualmente committed May 22, 2024
1 parent c9eaf62 commit 908ffd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon/db/extract_filtering_terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def find_ontology_terms_used(collection_name: str) -> List[Dict]:
i += STEP
print(i)
else:
xs = client.beacon.get_collection(collection_name).find().skip(0).limit(10000)
xs = client.beacon.get_collection(collection_name).find().skip(0).limit(MAX_LIMIT)
for r in tqdm(xs, total=num_total):
matches = ONTOLOGY_REGEX.findall(str(r))
for ontology_id, term_id in matches:
Expand Down

0 comments on commit 908ffd6

Please sign in to comment.