Skip to content

Commit 03c6694

Browse files
committed
set python_requires>=3.9 so we can use | operator for dict merge
1 parent c855e51 commit 03c6694

6 files changed

+8
-8
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up python
2121
uses: actions/setup-python@v4
2222
with:
23-
python-version: 3.8
23+
python-version: 3.9
2424
cache: pip
2525
cache-dependency-path: setup.py
2626

mb_discovery/m3gnet/join_and_plot_m3gnet_relax_results.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
# %%
6969
# 2022-01-25-ppd-mp+wbm.pkl.gz (235 MB)
70-
ppd_pickle_url = "https://figshare.com/ndownloader/files/36669624"
70+
ppd_pickle_url = "https://figshare.com/files/36669624"
7171
zipped_file = urllib.request.urlopen(ppd_pickle_url)
7272

7373
ppd_mp_wbm: PatchedPhaseDiagram = pickle.load(
@@ -93,7 +93,7 @@
9393

9494

9595
df_wbm = pd.read_csv( # download wbm-steps-summary.csv (23.31 MB)
96-
"https://figshare.com/ndownloader/files/36714216?private_link=ff0ad14505f9624f0c05"
96+
"https://figshare.com/files/36714216?private_link=ff0ad14505f9624f0c05"
9797
).set_index("material_id")
9898

9999
df_m3gnet["e_form_wbm"] = df_wbm.e_form

mb_discovery/plot_scripts/hist_classified_stable_as_func_of_hull_dist.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# download wbm-steps-summary.csv (23.31 MB)
4949
df_summary = pd.read_csv(
50-
"https://figshare.com/ndownloader/files/36714216?private_link=ff0ad14505f9624f0c05"
50+
"https://figshare.com/files/36714216?private_link=ff0ad14505f9624f0c05"
5151
).set_index("material_id")
5252

5353

mb_discovery/plot_scripts/hist_classified_stable_as_func_of_hull_dist_batches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# download wbm-steps-summary.csv (23.31 MB)
4949
df_summary = pd.read_csv(
50-
"https://figshare.com/ndownloader/files/36714216?private_link=ff0ad14505f9624f0c05"
50+
"https://figshare.com/files/36714216?private_link=ff0ad14505f9624f0c05"
5151
).set_index("material_id")
5252

5353

mb_discovery/plot_scripts/precision_recall_vs_calc_count.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
).set_index("material_id")
4343

4444

45-
# download wbm-steps-summary.csv (23.31 MB)
45+
# %% download wbm-steps-summary.csv (23.31 MB)
4646
df_summary = pd.read_csv(
47-
"https://figshare.com/ndownloader/files/36714216?private_link=ff0ad14505f9624f0c05"
47+
"https://figshare.com/files/36714216?private_link=ff0ad14505f9624f0c05"
4848
).set_index("material_id")
4949

5050

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Link check](https://github.com/janosh/matbench-discovery/actions/workflows/test.yml/badge.svg)](https://github.com/janosh/matbench-discovery/actions/workflows/test.yml)
44
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/janosh/matbench-discovery/main.svg?badge_token=Qza33izjRxSbegTqeSyDvA)](https://results.pre-commit.ci/latest/github/janosh/matbench-discovery/main?badge_token=Qza33izjRxSbegTqeSyDvA)
5-
[![Requires Python 3.8+](https://img.shields.io/badge/Python-3.8+-blue.svg)](https://python.org/downloads)
5+
[![Requires Python 3.9+](https://img.shields.io/badge/Python-3.9+-blue.svg)](https://python.org/downloads)
66

77
Several new energy models specifically designed to handle unrelaxed structures were published in 2021/22
88

0 commit comments

Comments
 (0)