Replies: 1 comment
|
That makes an installed-version/environment mismatch the first thing to check. In the environment where you run the command: mattergen-evaluate -- --help
python -c "import inspect; import mattergen.scripts.evaluate as e; print(e.__file__); print(inspect.signature(e.main))"If the signature doesn't include python -m mattergen.scripts.evaluate \
--structures_path="$RESULTS_PATH" \
--relax=True \
--structure_matcher=disordered \
--save_as=metrics.json \
--save_detailed_as=detailed_metrics.jsonThis isn't a quoting change to fix the parser; it only helps if that imported version supports the argument. If it doesn't, update the installation in that same environment to a revision containing the parameter. The imported path and signature would identify which case you're hitting before rerunning an expensive evaluation. |
Uh oh!
There was an error while loading. Please reload this page.
When I used the command "mattergen-evaluate --structures_path=$RESULTS_PATH --relax=True --structure_matcher='disordered' --save_as='metrics.json' --save_detailed_as='detailed_metrics.json' ", however, the error code showed " Could not consume arg: --save_detailed_as=detailed_metrics.json ". Could you please tell me how to resolve this issue?

All reactions