take 2 positional argument but 3 were given
HankIC opened this issue · 1 comments
HankIC commented
sahandKashani commented
Hi,
Thanks for reporting this bug. I didn't experience it as I was always running experiments in batch using run_all.py
(instead of explicitly with create_device_summary.py
), which calls the function correctly.
I've pushed a fix. You can pull the repository and retry. The command should look like this:
python3 src/create_device_summary.py <part> ~/tmp_working_dir <part>_device_info.json
Note that the working directory should not be in the resources/
directory. You should use a directory outside the git repository. The run_all.py
file automatically copies the final results of all scripts to the resources/
directory, but since you are explicitly calling create_device_summary.py
, you'll have to copy final JSON files to the resources/
directory yourself afterwards.