-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
The example from the readme does not work. Did the arguments change?
$ mkdir -p example_run_dir/CSiGe/run_dir
$ cd example_run_dir/CSiGe/run_dir
$ ../../../scripts/run-model-test.py -s CSiGe Tersoff bulk_Si_diamond
usage: run-model-test.py [-h] [--system_label SYSTEM_LABEL] [--force]
[--base_model BASE_MODEL] [--no_redirect_io]
[--no_append_log]
model test
run-model-test.py: error: unrecognized arguments: -s bulk_Si_diamond
Removing the -s option creates a text file with further errors concerning paths:
$ ../../../scripts/run-model-test.py Tersoff bulk_Si_diamond
share_dir /home/u2073032/nomad/code/testing-framework/scripts/../share
$ cat model-Tersoff-test-bulk_Si_diamond.txt
###### START RUN Wed Sep 29 14:13:52 2021 ######
Model Tersoff, Test bulk_Si_diamond
Test run at 2021-09-29 14:13
model file: ../../models/Tersoff/model.py
============================================================
Traceback (most recent call last):
File "../../../scripts/run-model-test.py", line 118, in <module>
sys.stdout.write(open(model_file).read())
FileNotFoundError: [Errno 2] No such file or directory: '../../models/Tersoff/model.py'
Metadata
Metadata
Assignees
Labels
No labels