Skip to content

Commit

Permalink
Remove default thermo type in rester (#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Apr 16, 2023
1 parent 1e1c377 commit 6ae15fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mp_api/client/routes/thermo.py
Expand Up @@ -42,7 +42,7 @@ def search(
material_ids: Optional[List[str]] = None,
num_elements: Optional[Tuple[int, int]] = None,
thermo_ids: Optional[List[str]] = None,
thermo_types: Optional[List[Union[ThermoType, str]]] = [ThermoType.GGA_GGA_U],
thermo_types: Optional[List[Union[ThermoType, str]]] = None,
total_energy: Optional[Tuple[float, float]] = None,
uncorrected_energy: Optional[Tuple[float, float]] = None,
sort_fields: Optional[List[str]] = None,
Expand Down Expand Up @@ -150,7 +150,7 @@ def search(
)

def get_phase_diagram_from_chemsys(
self, chemsys: str, thermo_type: Union[ThermoType, str] = ThermoType.GGA_GGA_U
self, chemsys: str, thermo_type: Union[ThermoType, str]
) -> PhaseDiagram:
"""
Get a pre-computed phase diagram for a given chemsys.
Expand Down

0 comments on commit 6ae15fd

Please sign in to comment.