Skip to content

Commit 1d0b3ea

Browse files
Merge pull request #184 from Exabyte-io/fix/sof-7539
fix/sof 7539 update: use working terminations
2 parents de98f82 + 1433d3c commit 1d0b3ea

File tree

4 files changed

+42
-10
lines changed

4 files changed

+42
-10
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
strategy:
1313
matrix:
14-
python-version: ["3.8.6"]
14+
python-version: ["3.10.13"]
1515

1616
steps:
1717
- name: Checkout this repository
@@ -49,7 +49,7 @@ jobs:
4949
- name: Publish python release
5050
uses: ./actions/py/publish
5151
with:
52-
python-version: 3.8.x
52+
python-version: 3.10.x
5353
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
5454
pypi-api-token: ${{ secrets.PYPI_API_TOKEN }}
5555

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "initial_id",
7+
"metadata": {
8+
"collapsed": true
9+
},
10+
"outputs": [],
11+
"source": [
12+
""
13+
]
14+
}
15+
],
16+
"metadata": {
17+
"kernelspec": {
18+
"display_name": "Python 3",
19+
"language": "python",
20+
"name": "python3"
21+
},
22+
"language_info": {
23+
"codemirror_mode": {
24+
"name": "ipython",
25+
"version": 2
26+
},
27+
"file_extension": ".py",
28+
"mimetype": "text/x-python",
29+
"name": "python",
30+
"nbconvert_exporter": "python",
31+
"pygments_lexer": "ipython2",
32+
"version": "2.7.6"
33+
}
34+
},
35+
"nbformat": 4,
36+
"nbformat_minor": 5
37+
}

other/materials_designer/specific_examples/slab_strontium_titanate.ipynb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,8 @@
9999
"source": [
100100
"from mat3ra.made.material import Material\n",
101101
"from mat3ra.standata.materials import Materials\n",
102-
"from mat3ra.made.tools.modify import rotate\n",
103102
"\n",
104-
"material = Material(Materials.get_by_name_first_match(\"SrTiO3\"))\n",
105-
"# Rotate material to correctly identify multiple terminations.\n",
106-
"# Without the rotation, the current implementation only finds a single termination (as of 2024-12).\n",
107-
"material = rotate(material, axis=[1, 0, 0], angle=10)"
103+
"material = Material(Materials.get_by_name_first_match(\"SrTiO3\"))"
108104
],
109105
"metadata": {
110106
"collapsed": false

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name = "mat3ra-api-examples"
33
dynamic = ["version"]
44
description = "Mat3ra API Examples"
55
readme = "README.md"
6-
requires-python = ">=3.8"
6+
requires-python = ">=3.10"
77
dependencies = [
88
"ase>=3.21.1",
99
"exabyte-api-client>=2023.6.13.post0",
1010
"matplotlib>=3.4.1",
1111
"pandas>=1.5.3",
12-
"pymatgen>=2024.4.13; python_version > '3.8'",
13-
"pymatgen; python_version < '3.8'",
12+
"pymatgen==2024.4.13",
1413
"mat3ra-made>=2024.6.11.post0",
1514
"mat3ra-utils>=2024.6.11.post0",
1615
]

0 commit comments

Comments
 (0)