obi import: minor doc/display improvements

This commit is contained in:
Celine Mercier
2020-05-20 11:46:29 +02:00
parent b5a29ac413
commit f13f8f6165
3 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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

View File

@ -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