diff --git a/setup.py b/setup.py index e8a9824..caa2488 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( "annotate-tsv=tsvtools.cli:annotate_tsv", "page2tsv=tsvtools.cli:page2tsv", "find-entities=cli:find_entities", - "make-page2tsv-commands=cli:make_page2tsv_commands" + "make-page2tsv-commands=tsvtools.cli:make_page2tsv_commands" ] }, python_requires='>=3.6.0', diff --git a/tsvtools/cli.py b/tsvtools/cli.py index d179916..1961c47 100644 --- a/tsvtools/cli.py +++ b/tsvtools/cli.py @@ -252,6 +252,9 @@ def find_entities(tsv_file, tsv_out_file, ner_rest_endpoint, ned_rest_endpoint, "\n\nOCR: OCR application/ground-truth creation. " "\n\ndefault: NERD.") def make_page2tsv_commands(xls_file, purpose): + """ + XLS_FILE: Read parameters from xls-file. Expected columns: Filename, iiif_url, scale_factor. + """ df = pd.read_excel(xls_file)