Skip to content

Commit b2aa129

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f7e0300 commit b2aa129

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

feflow/protocols/nonequilibrium_cycling.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -974,14 +974,20 @@ def _create(
974974
original_mapping = setup.inputs["mapping"]
975975

976976
if original_state_a != stateA.key:
977-
raise ValueError("'stateA' key is not the same as the key provided by the 'extends' ProtocolDAGResult.")
977+
raise ValueError(
978+
"'stateA' key is not the same as the key provided by the 'extends' ProtocolDAGResult."
979+
)
978980

979981
if original_state_b != stateB.key:
980-
raise ValueError("'stateB' key is not the same as the key provided by the 'extends' ProtocolDAGResult.")
982+
raise ValueError(
983+
"'stateB' key is not the same as the key provided by the 'extends' ProtocolDAGResult."
984+
)
981985

982986
if mapping is not None:
983987
if original_mapping != mapping:
984-
raise ValueError("'mapping' is not consistent with the mapping provided by the 'extnds' ProtocolDAGResult.")
988+
raise ValueError(
989+
"'mapping' is not consistent with the mapping provided by the 'extnds' ProtocolDAGResult."
990+
)
985991
else:
986992
mapping = original_mapping
987993

0 commit comments

Comments
 (0)