Skip to content

Commit 942839a

Browse files
authored
Merge pull request #153 from Exabyte-io/hotfix/add-annotated-types
update: move annotaded types to common
2 parents 7c2ac5e + a8ef62a commit 942839a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ default:
88
packages_common:
99
- pandas==1.5.3
1010
- ase==3.22.1
11+
- ipywidgets
1112
packages_python:
1213
- pymatgen==2024.4.13
1314
packages_pyodide:
@@ -18,6 +19,7 @@ default:
1819
- emfs:/drive/api-examples/packages/ruamel.yaml-0.17.32-py3-none-any.whl
1920
- emfs:/drive/api-examples/packages/pydantic_core-2.18.2-py3-none-any.whl
2021
- emfs:/drive/api-examples/packages/pydantic-2.7.1-py3-none-any.whl
22+
- annotated_types>=0.6.0
2123
- networkx==3.2.1
2224
- monty==2023.11.3
2325
- scipy==1.11.2
@@ -29,12 +31,10 @@ default:
2931
notebooks:
3032
- name: create_interface_with_min_strain_zsl.ipynb
3133
packages_common:
32-
- ipywidgets
3334
- plotly==5.18
3435
- nbformat>=4.2.0
3536
packages_python:
3637
packages_pyodide:
37-
- annotated_types>=0.6.0
3838
- mat3ra-esse
3939
- mat3ra-made
4040
- name: import_material_from_jarvis_db_entry.ipynb
@@ -60,9 +60,7 @@ notebooks:
6060
- emfs:/drive/api-examples/packages/watchdog-2.3.1-py3-none-any.whl
6161
- name: create_point_defect.ipynb
6262
packages_common:
63-
- ipywidgets
6463
packages_python:
6564
packages_pyodide:
66-
- annotated_types>=0.6.0
6765
- mat3ra-esse
6866
- mat3ra-made

other/materials_designer/specific_examples/defect_creation_island.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,9 @@
266266
"cell_type": "code",
267267
"outputs": [],
268268
"source": [
269-
"from utils.jupyterlite import write_materials_to_folder, download_content_to_file\n",
269+
"from utils.jupyterlite import write_materials_to_folder\n",
270270
"\n",
271-
"write_materials_to_folder(slab_with_island, \"./downloads\")\n",
272-
"download_content_to_file(slab_with_island.to_json(), \"slab_with_island.json\")"
271+
"write_materials_to_folder(slab_with_island, \"./downloads\")"
273272
],
274273
"metadata": {
275274
"collapsed": false

other/materials_designer/specific_examples/defect_creation_point_substitution_graphene.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,9 @@
258258
"cell_type": "code",
259259
"outputs": [],
260260
"source": [
261-
"from utils.jupyterlite import write_materials_to_folder, download_content_to_file\n",
261+
"from utils.jupyterlite import write_materials_to_folder\n",
262262
"material_with_defect.name = \"N-doped Graphene\"\n",
263-
"write_materials_to_folder([material_with_defect], \"../uploads\")\n",
264-
"download_content_to_file(material_with_defect.to_json(), \"N-doped_Graphene.json\")"
263+
"write_materials_to_folder([material_with_defect], \"./downloads\")"
265264
],
266265
"metadata": {
267266
"collapsed": false

0 commit comments

Comments
 (0)