Skip to content

Commit

Permalink
wget links and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
misko committed May 13, 2024
1 parent 62d3e7d commit 3df16ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/legacy_tutorials/OCP_Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,9 @@ Lets download it locally,

```{code-cell} ipython3
%%bash
https://github.com/FAIR-Chem/fairchem/blob/main/src/fairchem/core/configs/s2ef/all/gemnet/scaling_factors/gemnet-oc-large.pt
wget https://github.com/FAIR-Chem/fairchem/blob/main/configs/s2ef/all/gemnet/scaling_factors/gemnet-oc.pt
wget https://github.com/FAIR-Chem/fairchem/blob/main/configs/s2ef/all/gemnet/scaling_factors/gemnet-dT.json
wget https://github.com/FAIR-Chem/fairchem/raw/main/configs/s2ef/all/gemnet/scaling_factors/gemnet-oc-large.pt
wget https://github.com/FAIR-Chem/fairchem/raw/main/configs/s2ef/all/gemnet/scaling_factors/gemnet-oc.pt
wget https://github.com/FAIR-Chem/fairchem/raw/main/configs/s2ef/all/gemnet/scaling_factors/gemnet-dT.json
```


Expand Down
6 changes: 3 additions & 3 deletions src/fairchem/core/common/tutorial_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ def nested_set(dic, keys, value):
keys = _key.split(".")
nested_set(config, keys, update[_key])

config['evaluation_metrics']=config['eval_metrics']
config.pop('eval_metrics')
config["evaluation_metrics"]=config["eval_metrics"]
config.pop("eval_metrics")

out = dump(config)
with open(yml, "wb") as f:
f.write(out.encode("utf-8"))
Expand Down

0 comments on commit 3df16ce

Please sign in to comment.