Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment