Skip to content

Commit

Permalink
Add charge and hydrate to statement response log
Browse files Browse the repository at this point in the history
  • Loading branch information
sjd210 committed Nov 26, 2024
1 parent 21c5b96 commit 799d5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export function mergeResponses(response1: CheckerResponse, response2: CheckerRes
newResponse.sameCoefficient = response1.sameCoefficient && response2.sameCoefficient;
newResponse.sameElements = response1.sameElements && response2.sameElements;
if (!response1.isNuclear) {
newResponse.sameCharge = response1.sameCharge && response2.sameCharge;
newResponse.sameHydrate = response1.sameHydrate && response2.sameHydrate;
newResponse.sameState = response1.sameState && response2.sameState;
newResponse.sameBrackets = response1.sameBrackets && response2.sameBrackets;
} else {
Expand Down

0 comments on commit 799d5f1

Please sign in to comment.