Skip to content

Commit 2dd0018

Browse files
authored
Remove pymatgen version workaround (#14)
1 parent 9231550 commit 2dd0018

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

notebooks/demonstration-pymatgen-for-optimade-queries.ipynb

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"id": "f2gK8ZkZ6hMX"
128128
},
129129
"source": [
130-
"Next, let us **verify the correct version of *pymatgen* is installed**. This is good practice to do before starting out! For this tutorial we need version 2022.0.17 or above (which may not be released at the time of this tutorial). We also need the `pybtex` package installed."
130+
"Next, let us **verify the correct version of *pymatgen* is installed**. This is good practice to do before starting out! For this tutorial we need version 2022.0.17 or above. We also need the `pybtex` package installed."
131131
]
132132
},
133133
{
@@ -174,22 +174,6 @@
174174
"version(\"pymatgen\")"
175175
]
176176
},
177-
{
178-
"cell_type": "code",
179-
"execution_count": null,
180-
"metadata": {},
181-
"outputs": [],
182-
"source": [
183-
"# There is a bug with 2020.0.15 and 2020.0.16 this has been fixed in a fork, hopefully soon to be merged and added to next pymatgen release\n",
184-
"# If this is not available, install directly from GitHub\n",
185-
"\n",
186-
"# You may not want to run this cell if you are performing the tutorial within your own Python environment\n",
187-
"if int(version(\"pymatgen\").split(\".\")[-1]) < 17:\n",
188-
" !pip uninstall -y pymatgen\n",
189-
" !pip install git+https://github.com/materialsproject/pymatgen@master\n",
190-
" !pip install pybtex"
191-
]
192-
},
193177
{
194178
"cell_type": "markdown",
195179
"metadata": {

0 commit comments

Comments
 (0)