Skip to content

Commit

Permalink
Update MP benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
lan496 committed Jan 11, 2025
1 parent 3d0175b commit 624e019
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 25 deletions.
93 changes: 72 additions & 21 deletions bench/mp/analysis.ipynb

Large diffs are not rendered by default.

Binary file modified bench/mp/mp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions bench/mp/mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@

from time import perf_counter

import matbench_discovery.data
import pandas as pd
import spglib
from matbench_discovery.data import DataFiles
from pymatgen.entries.computed_entries import ComputedStructureEntry
from pymatviz.enums import Key
from spglib import get_symmetry_dataset
from tqdm.auto import tqdm

import moyopy


def main():
df = matbench_discovery.data.load("mp_computed_structure_entries", version="1.0.0")
data_path = DataFiles.mp_computed_structure_entries.path
df = pd.read_json(data_path).set_index(Key.mat_id)

all_stats = []

Expand Down
2 changes: 1 addition & 1 deletion bench/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
matbench-discovery==1.1.1
matbench-discovery==1.3.1
ipython
nbformat
mp_api
Expand Down
2 changes: 1 addition & 1 deletion typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
ba = "ba"

[files]
extend-exclude = ['.gitignore']
extend-exclude = ['.gitignore', '*.ipynb']

0 comments on commit 624e019

Please sign in to comment.