Skip to content

Commit

Permalink
Update python/featomic/featomic/clebsch_gordan/_equivariant_power_spe…
Browse files Browse the repository at this point in the history
…ctrum_by_pair.py

Co-authored-by: Joseph W. Abbott <joseph.william.abbott@gmail.com>
  • Loading branch information
ppegolo and jwa7 authored Jan 31, 2025
1 parent ec0f902 commit 2790e8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def __init__(
parameters_1 = json.loads(calculator_1.parameters)

# For the moment, only spherical expansion by pair is supported for calculator_2
if self.calculator_2.c_name not in supported_calculators:
if self.calculator_2.c_name not in supported_calculators_2:
raise ValueError(
f"Only [{', '.join(supported_calculators)}] are supported for "
f"`calculator_2`, got '{self.calculator_2.c_name}'"
Expand Down

0 comments on commit 2790e8d

Please sign in to comment.