From f13f8f6165ef2df01a079af2027399f79318a0fe Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 20 May 2020 11:46:29 +0200 Subject: [PATCH] obi import: minor doc/display improvements --- python/obitools3/commands/import.pyx | 2 +- python/obitools3/parsers/embl.pyx | 2 +- python/obitools3/parsers/genbank.pyx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/obitools3/commands/import.pyx b/python/obitools3/commands/import.pyx index 902f114..1160870 100755 --- a/python/obitools3/commands/import.pyx +++ b/python/obitools3/commands/import.pyx @@ -73,7 +73,7 @@ def addOptions(parser): action="store_true", dest="import:preread", default=False, help="Do a first readthrough of the dataset if it contains huge dictionaries (more than 100 keys) for " - "a much faster import.") + "a much faster import. This option is not recommended and will slow down the import in any other case.") def run(config): diff --git a/python/obitools3/parsers/embl.pyx b/python/obitools3/parsers/embl.pyx index 165eff2..1f53678 100755 --- a/python/obitools3/parsers/embl.pyx +++ b/python/obitools3/parsers/embl.pyx @@ -177,7 +177,7 @@ def emblIterator_dir(dir_path, for filename in files: if read==only: return - print("Parsing file %s (%d/%d)" % (tostr(filename), read_files, len(files))) + print("Parsing file %s (%d/%d)" % (tostr(filename), read_files+1, len(files))) f = uopen(filename) if only is not None: only_f = only-read diff --git a/python/obitools3/parsers/genbank.pyx b/python/obitools3/parsers/genbank.pyx index 50498f6..c6a70e0 100755 --- a/python/obitools3/parsers/genbank.pyx +++ b/python/obitools3/parsers/genbank.pyx @@ -176,7 +176,7 @@ def genbankIterator_dir(dir_path, for filename in files: if read==only: return - print("Parsing file %s (%d/%d)" % (tostr(filename), read_files, len(files))) + print("Parsing file %s (%d/%d)" % (tostr(filename), read_files+1, len(files))) f = uopen(filename) if only is not None: only_f = only-read