Skip to content

Commit

Permalink
Type Ns next to untyped Cs later (N8 of LLX in 3max)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-pettersen committed Jan 31, 2025
1 parent a2e9607 commit 5a3b50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ t0 = t1;
continue;
if (sqlen > p4n2c)
continue;
if (bondee->idatm_type() == "Cac")
if (bondee->idatm_type() == "Cac" || bondee->idatm_type() == "C")
continue;
if (bondee->idatm_type() == "C2") {
bool grand_O2 = false;
Expand Down Expand Up @@ -1048,7 +1048,7 @@ std::cerr << "pass 3 took " << (t1 - t0) / (float)CLOCKS_PER_SEC << " seconds\n"
t0 = t1;
#endif

// "pass 4": re-examine all atoms with non-zero 'redo' values and
// "pass 4": re-examine most atoms with non-zero 'redo' values and
// retype them if necessary
for (auto a: untyped_atoms) {

Expand Down Expand Up @@ -1081,7 +1081,7 @@ t0 = t1;
a->set_computed_idatm_type("Npl");
break;
}
} else {
} else if (redo[a] == 3) {
if ((sqlen <= p4c2c && bondee_element == Element::C)
|| (sqlen <= p4c2n && bondee_element == Element::N)) {
a->set_computed_idatm_type("C2");
Expand Down
2 changes: 1 addition & 1 deletion src/bundles/atomic_lib/bundle_info.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<BundleInfo name="ChimeraX-AtomicLibrary" version="14.1.12"
<BundleInfo name="ChimeraX-AtomicLibrary" version="14.1.13"
package="chimerax.atomic_lib"
purePython="false"
installedDataDir="data"
Expand Down

0 comments on commit 5a3b50c

Please sign in to comment.