Skip to content

Commit a852f1c

Browse files
Fix tutorials (#577)
1 parent 9363e4b commit a852f1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/tutorials/cli/singlepoint.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@
661661
"\n",
662662
"One useful example is passing options that are specific to an MLIP calculator.\n",
663663
"\n",
664-
"For example, MACE has an option to run with D3 dispersion correction, through the `dispersion` option. In the command-line, this can be set using:"
664+
"For example, all MLIPs have an option to run with D3 dispersion correction, through the `dispersion` option. In the command-line, this can be set using:"
665665
]
666666
},
667667
{
@@ -721,7 +721,7 @@
721721
"dispersion_results = read(\"janus_results/NaCl-dispersion-results.extxyz\")\n",
722722
"\n",
723723
"print(f\"Original results: {results.info['mace_mp_energy']}\")\n",
724-
"print(f\"Results with dispersion correction: {dispersion_results.info['mace_mp_energy']}\")"
724+
"print(f\"Results with dispersion correction: {dispersion_results.info['mace_mp_d3_energy']}\")"
725725
]
726726
}
727727
],

docs/source/tutorials/python/geom_opt.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"source": [
112112
"get_data(\n",
113113
" url=\"https://raw.githubusercontent.com/stfc/janus-core/main/docs/source/tutorials/data/\",\n",
114-
" filename=[\"NaCl-deformed.cif\"],\n",
114+
" filename=[\"NaCl-deformed.xyz\"],\n",
115115
" folder=\"data\",\n",
116116
")"
117117
]
@@ -129,7 +129,7 @@
129129
"metadata": {},
130130
"outputs": [],
131131
"source": [
132-
"NaCl = read(\"data/NaCl-deformed.cif\")\n",
132+
"NaCl = read(\"data/NaCl-deformed.xyz\")\n",
133133
"NaCl.wrap()\n",
134134
"v=WeasWidget()\n",
135135
"v.from_ase(NaCl)\n",

0 commit comments

Comments
 (0)