Skip to content

Commit

Permalink
make comments looks clear
Browse files Browse the repository at this point in the history
  • Loading branch information
peikai committed Jan 20, 2025
1 parent 065c290 commit b998556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/entries/mixing_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def __init__(
raise ValueError(f"run_type_1={run_type_2=}. The mixing scheme is meaningless unless run_types different")
self.run_type_1 = run_type_1
self.run_type_2 = run_type_2
# allowing for all existed run_type
# allowing for existed run_type variations based on abstract scales
run_type_dict = {"GGA(+U)": ["GGA", "GGA+U"], "r2SCAN": ["r2SCAN", "R2SCAN"]}
self.valid_rtypes_1 = run_type_dict.get(self.run_type_1, [self.run_type_1])
self.valid_rtypes_2 = run_type_dict.get(self.run_type_2, [self.run_type_2])
Expand Down

0 comments on commit b998556

Please sign in to comment.