Skip to content

Commit 04a1276

Browse files
committed
fix issue with not passing SerAPI options to sername
1 parent ea823ed commit 04a1276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roosterize/data/DataMiner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def collect_lemmas_doc(cls,
691691
lemma_qnames_file = BashUtils.get_temp_file()
692692
IOUtils.dump(lemma_qnames_file, lemma_qnames, IOUtils.Format.txt)
693693

694-
lemma_qnames_backend_sexps_str: str = BashUtils.run(f"sername --require-lib={qprefix_this_doc} {lemma_qnames_file}", expected_return_code=0).stdout
694+
lemma_qnames_backend_sexps_str: str = BashUtils.run(f"sername {serapi_options} --require-lib={qprefix_this_doc} {lemma_qnames_file}", expected_return_code=0).stdout
695695
IOUtils.rm(lemma_qnames_file)
696696
for qname_backend_sexp_str in lemma_qnames_backend_sexps_str.splitlines():
697697
qname, backend_sexp_str = qname_backend_sexp_str.split(":", 1)

0 commit comments

Comments
 (0)