Skip to content

Commit 1157cdd

Browse files
committed
Actually download ct data.
1 parent d829ef7 commit 1157cdd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/pybool_ir/cli/__main__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def validate(self, query):
392392
required=False,
393393
help="whether to display stored fields or not"
394394
)
395-
def pubmed_search(index_path: Path, store_fields: bool):
395+
def ctgov_search(index_path: Path, store_fields: bool):
396396
from pybool_ir.index.ctgov import ClinicalTrialsGovIndexer
397397
from pybool_ir.query.essie.parser import EssieQueryParser
398398
from prompt_toolkit import PromptSession
@@ -401,8 +401,6 @@ def pubmed_search(index_path: Path, store_fields: bool):
401401

402402
parser = EssieQueryParser()
403403

404-
print(parser.parse_ast("test"))
405-
406404
class QueryValidator(Validator):
407405
def validate(self, query):
408406
text = query.text

0 commit comments

Comments
 (0)