When contents of data/interim were blown away, both fetch_data and process_data didn't work.
here's the error from fetch_data:
2018-08-15 14:30:45,108 - src.data.datasets - DEBUG - Checking for ball
Traceback (most recent call last):
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "~/dimension_reduction/src/data/make_dataset.py", line 47, in <module>
main()
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/software/anaconda3/envs/dimension_reduction/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "~/dimension_reduction/src/data/make_dataset.py", line 31, in main
unpacked_datasets[dataset_name] = fetch_and_unpack(dataset_name, do_unpack=False)
File "~/dimension_reduction/src/data/datasets.py", line 305, in fetch_and_unpack
**ds[dataset_name])
File "~/dimension_reduction/src/data/datasets.py", line 190, in fetch_file
raise Exception('One of `url` or `contents` must be specified')
Exception: One of `url` or `contents` must be specified
make: *** [fetch_data] Error 1
When contents of
data/interim
were blown away, bothfetch_data
andprocess_data
didn't work.here's the error from
fetch_data
: