Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #695 +/- ##
==========================================
+ Coverage 73.80% 73.97% +0.17%
==========================================
Files 99 101 +2
Lines 27352 27596 +244
Branches 5718 5746 +28
==========================================
+ Hits 20187 20415 +228
- Misses 5738 5745 +7
- Partials 1427 1436 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8825e9f to
cbec920
Compare
| H -0.53390611 -2.06386676 -0.83047533 | ||
| H -0.42088759 -4.06846526 -2.17670487 | ||
| H 1.36205133 -3.75009763 -2.57288841""")]) | ||
| cls.rxn_1.determine_family(rmg_database=cls.rmgdb) |
Check failure
Code scanning / CodeQL
Wrong name for an argument in a call Error
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 11 months ago
To fix the problem, we need to ensure that the keyword argument used in the method call matches the parameter name expected by the determine_family method. We should check the method definition of determine_family in the ARCReaction class to find the correct parameter name and update the method call accordingly.
The best way to fix the problem without changing existing functionality is to replace the incorrect keyword argument rmg_database with the correct parameter name. This change should be made in the file arc/job/adapters/ts/linear_test.py on line 77 and line 101.
| @@ -76,3 +76,3 @@ | ||
| H 1.36205133 -3.75009763 -2.57288841""")]) | ||
| cls.rxn_1.determine_family(rmg_database=cls.rmgdb) | ||
| cls.rxn_1.determine_family(rmgdb=cls.rmgdb) | ||
|
|
||
| @@ -100,3 +100,3 @@ | ||
| H 0.27058353 -0.73979548 1.43184405""")]) | ||
| cls.rxn_2.determine_family(rmg_database=cls.rmgdb) | ||
| cls.rxn_2.determine_family(rmgdb=cls.rmgdb) | ||
|
|
| H -1.41423043 0.87863077 0.42354512 | ||
| H 1.02430791 0.21530309 0.12674144 | ||
| H 0.27058353 -0.73979548 1.43184405""")]) | ||
| cls.rxn_2.determine_family(rmg_database=cls.rmgdb) |
Check failure
Code scanning / CodeQL
Wrong name for an argument in a call Error
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 11 months ago
To fix the problem, we need to ensure that the correct parameter name is used when calling the determine_family method. This involves checking the method definition of determine_family in the ARCReaction class to find the correct parameter name and updating the call accordingly.
- First, identify the correct parameter name expected by the
determine_familymethod. - Update the call to
determine_familyon line 101 to use the correct parameter name.
| @@ -100,3 +100,3 @@ | ||
| H 0.27058353 -0.73979548 1.43184405""")]) | ||
| cls.rxn_2.determine_family(rmg_database=cls.rmgdb) | ||
| cls.rxn_2.determine_family(rmgdb=cls.rmgdb) | ||
|
|
Also fixed the is_isomerization() method
Also testing the atom_order arg
Added a method for generating TS structures from atom mapped reactants and products.
The method works for unimolecular reactions, and at present is only implemented for isomerization reactions.