Commit 913d42c
committed
Fixed Fragment test failure
The `Fragment` class is now a subclass of
`Molecule`. As such, some if statements for
checking atom charges no longer work for Fragments
since CuttingLabels don't have defined charges.
These if statements were modified such that charge
checks for `Fragments` ignore CuttingLabels, and
will skip charge checks for `Molecules` if the
species is an instance `Fragments`.1 parent 07eba73 commit 913d42c
2 files changed
+12
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1519 | 1519 | | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | | - | |
| 1522 | + | |
| 1523 | + | |
1523 | 1524 | | |
1524 | | - | |
1525 | | - | |
1526 | 1525 | | |
1527 | 1526 | | |
1528 | 1527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
1448 | 1443 | | |
1449 | 1444 | | |
1450 | 1445 | | |
1451 | 1446 | | |
1452 | 1447 | | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1453 | 1453 | | |
1454 | 1454 | | |
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | 1459 | | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | 1460 | | |
1466 | 1461 | | |
1467 | 1462 | | |
1468 | 1463 | | |
1469 | 1464 | | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
| |||
0 commit comments