Commit 56e82f7b authored by Hans van den Heuvel's avatar Hans van den Heuvel
Browse files

Fixed error; Converted SubstanceTranslations from tsv to csv.

parent 0434a490
......@@ -69,7 +69,7 @@ dataset.add(
short_argument='-s',
help='The (input) substance translation file - '
+ 'format: tsv (Tab Seperated), file not required.',
default_name='SubstanceTranslations.tsv',
default_name='SubstanceTranslations.csv',
necessary=False,
default_dir='Input',
direction='Input')
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -425,9 +425,9 @@ class DataSet:
dataset.file.suggest(
datasetfilename)
if urlparse(dataset.file.suggested).netloc:
if (not dataset.file.exist)
or ((dataset.checksum is not None)
and dataset.file.hash != dataset.checksum):
if (not dataset.file.exist) \
or ((dataset.checksum is not None)
and dataset.file.hash != dataset.checksum):
self.__download(
url=dataset.file.suggested,
file=dataset.file.path)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment