Skip to content

Commit

Permalink
Remove pybtex and unimplemented code stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Nov 17, 2024
1 parent c5d1252 commit 5cf9b79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies = [
"pyyaml~=6.0",
"pymatgen>=2023.9",
"pandas >= 1.5, < 3",
"pybtex~=0.24",
"tqdm~=4.65",
"requests~=2.31",
"numpy >= 1.22, < 3",
Expand Down
7 changes: 0 additions & 7 deletions src/optimade_maker/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import ase.io
import pandas
import pybtex.database
import pymatgen.core
import pymatgen.entries.computed_entries
from optimade.adapters import Structure
Expand All @@ -13,10 +12,6 @@
from optimade_maker.config import PropertyDefinition


def pybtex_to_optimade(bib_entry: Any, properties=None) -> EntryResource:
raise NotImplementedError


def load_csv_file(
p: Path,
properties: list[PropertyDefinition] | None = None,
Expand Down Expand Up @@ -118,7 +113,6 @@ def _wrapped_json_parser(path: Path) -> Any:
),
wrapped_json_parser(pymatgen.core.Structure.from_dict),
],
"references": [pybtex.database.parse_file],
}


Expand Down Expand Up @@ -159,5 +153,4 @@ def structure_ingest_wrapper(entry, properties=None): # type: ignore
str, list[Callable[[Any, list[PropertyDefinition] | None], EntryResource | dict]]
] = {
"structures": [structure_ingest_wrapper, parse_computed_structure_entry],
"references": [pybtex_to_optimade],
}

0 comments on commit 5cf9b79

Please sign in to comment.