|
68 | 68 | }, |
69 | 69 | { |
70 | 70 | "cell_type": "code", |
71 | | - "execution_count": 103, |
| 71 | + "execution_count": null, |
72 | 72 | "metadata": { |
73 | 73 | "colab": { |
74 | 74 | "base_uri": "https://localhost:8080/" |
75 | 75 | }, |
76 | 76 | "id": "qU7Uolip7N-g", |
77 | 77 | "outputId": "b756287e-3d19-444d-f91c-c4aea6c440a6" |
78 | 78 | }, |
79 | | - "outputs": [ |
80 | | - { |
81 | | - "name": "stdout", |
82 | | - "output_type": "stream", |
83 | | - "text": [ |
84 | | - "Requirement already satisfied: pymatgen in /usr/local/lib/python3.7/dist-packages (2022.0.14)\n", |
85 | | - "Requirement already satisfied: pybtex in /usr/local/lib/python3.7/dist-packages (0.24.0)\n", |
86 | | - "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (3.7.4.3)\n", |
87 | | - "Requirement already satisfied: matplotlib>=1.5 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (3.2.2)\n", |
88 | | - "Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from pymatgen) (2.23.0)\n", |
89 | | - "Requirement already satisfied: plotly>=4.5.0 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (5.3.1)\n", |
90 | | - "Requirement already satisfied: tabulate in /usr/local/lib/python3.7/dist-packages (from pymatgen) (0.8.9)\n", |
91 | | - "Requirement already satisfied: sympy in /usr/local/lib/python3.7/dist-packages (from pymatgen) (1.7.1)\n", |
92 | | - "Requirement already satisfied: spglib>=1.9.9.44 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (1.16.2)\n", |
93 | | - "Requirement already satisfied: pandas in /usr/local/lib/python3.7/dist-packages (from pymatgen) (1.1.5)\n", |
94 | | - "Requirement already satisfied: uncertainties>=3.1.4 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (3.1.6)\n", |
95 | | - "Requirement already satisfied: networkx>=2.2 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (2.6.2)\n", |
96 | | - "Requirement already satisfied: monty>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (2021.8.17)\n", |
97 | | - "Requirement already satisfied: scipy>=1.5.0 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (1.7.1)\n", |
98 | | - "Requirement already satisfied: numpy>=1.20.1 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (1.21.2)\n", |
99 | | - "Requirement already satisfied: ruamel.yaml>=0.15.6 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (0.17.16)\n", |
100 | | - "Requirement already satisfied: palettable>=3.1.1 in /usr/local/lib/python3.7/dist-packages (from pymatgen) (3.3.0)\n", |
101 | | - "Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.5->pymatgen) (0.10.0)\n", |
102 | | - "Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.5->pymatgen) (2.8.2)\n", |
103 | | - "Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.5->pymatgen) (2.4.7)\n", |
104 | | - "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib>=1.5->pymatgen) (1.3.1)\n", |
105 | | - "Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from cycler>=0.10->matplotlib>=1.5->pymatgen) (1.15.0)\n", |
106 | | - "Requirement already satisfied: tenacity>=6.2.0 in /usr/local/lib/python3.7/dist-packages (from plotly>=4.5.0->pymatgen) (8.0.1)\n", |
107 | | - "Requirement already satisfied: ruamel.yaml.clib>=0.1.2 in /usr/local/lib/python3.7/dist-packages (from ruamel.yaml>=0.15.6->pymatgen) (0.2.6)\n", |
108 | | - "Requirement already satisfied: future in /usr/local/lib/python3.7/dist-packages (from uncertainties>=3.1.4->pymatgen) (0.16.0)\n", |
109 | | - "Requirement already satisfied: latexcodec>=1.0.4 in /usr/local/lib/python3.7/dist-packages (from pybtex) (2.0.1)\n", |
110 | | - "Requirement already satisfied: PyYAML>=3.01 in /usr/local/lib/python3.7/dist-packages (from pybtex) (3.13)\n", |
111 | | - "Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.7/dist-packages (from pandas->pymatgen) (2018.9)\n", |
112 | | - "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->pymatgen) (2021.5.30)\n", |
113 | | - "Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->pymatgen) (1.24.3)\n", |
114 | | - "Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.7/dist-packages (from requests->pymatgen) (3.0.4)\n", |
115 | | - "Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->pymatgen) (2.10)\n", |
116 | | - "Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.7/dist-packages (from sympy->pymatgen) (1.2.1)\n" |
117 | | - ] |
118 | | - } |
119 | | - ], |
| 79 | + "outputs": [], |
120 | 80 | "source": [ |
121 | | - "!pip install pymatgen pybtex" |
| 81 | + "%pip install pymatgen pybtex" |
122 | 82 | ] |
123 | 83 | }, |
124 | 84 | { |
|
319 | 279 | ], |
320 | 280 | "source": [ |
321 | 281 | "opt = OptimadeRester()\n", |
322 | | - "opt.refresh_aliases()" |
| 282 | + "opt.refresh_aliases()\n", |
| 283 | + "\n", |
| 284 | + "latest_aliases = opt.aliases" |
323 | 285 | ] |
324 | 286 | }, |
325 | 287 | { |
|
343 | 305 | }, |
344 | 306 | "outputs": [], |
345 | 307 | "source": [ |
346 | | - "opt = OptimadeRester([\"mp\", \"mcloud.2dstructures\"],timeout=10)" |
| 308 | + "opt = OptimadeRester([\"mp\", \"https://aiida.materialscloud.org/mc2d/optimade\"]],timeout=10)" |
347 | 309 | ] |
348 | 310 | }, |
349 | 311 | { |
|
1407 | 1369 | "provenance": [] |
1408 | 1370 | }, |
1409 | 1371 | "kernelspec": { |
1410 | | - "display_name": "Python 3", |
| 1372 | + "display_name": "Python 3.9.12 ('optimade_39')", |
| 1373 | + "language": "python", |
1411 | 1374 | "name": "python3" |
1412 | 1375 | }, |
1413 | 1376 | "language_info": { |
1414 | 1377 | "name": "python", |
1415 | | - "version": "3.9.7" |
| 1378 | + "version": "3.9.12" |
| 1379 | + }, |
| 1380 | + "vscode": { |
| 1381 | + "interpreter": { |
| 1382 | + "hash": "aba44ae4de6e4ad6c6ed049de3bd37f83e5fa31c56eecbd2c7dd1c3d1baa4d3b" |
| 1383 | + } |
1416 | 1384 | } |
1417 | 1385 | }, |
1418 | 1386 | "nbformat": 4, |
|
0 commit comments