• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

epam / miew / 29459414975
27%
main: 27%

Build:
Build:
LAST BUILD BRANCH: 599-add-a-description-to-project-an-atom-onto-the-canvas-example
DEFAULT BRANCH: main
Ran 15 Jul 2026 11:46PM UTC
Jobs 1
Files 234
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jul 2026 11:43PM UTC coverage: 26.936% (+0.07%) from 26.867%
29459414975

push

github

paulsmirnov
Add nohetatm mode to autoBonding setting (#615)

Implement the 'nohetatm' mode that was deferred in the original
autoBonding setting commit. When selected, HETATM atoms are excluded
from auto-bonding in both directions (as a seed and as a candidate
neighbor), while the rest of the structure still bonds per the
format's default behavior.

- Add `AutoBond` constructor option `excludeHetatm` and make
  `_isAtomEligible()` an instance method that respects it; filter
  candidate neighbor atoms too, closing an existing asymmetry where
  only the seed atom was checked.
- Add `Parser#excludeHetatmFromAutoBonding()`, sharing mode resolution
  with `resolveAutoBonding()` via a new `_resolveAutoBondingMode()`.
- Wire the new option into `Complex#finalize()` and only into
  PDBParser, CIFParser, and MMTFParser, since those are the only
  parsers where the `het` flag is a genuine per-atom distinction read
  from the source file. GROParser, XYZParser, CMLParser, SDFParser,
  PubChemParser, and MOL2Parser hardcode `het` to a single constant
  for every atom, so wiring the exclusion there would either silently
  drop all auto-generated bonds (GRO, XYZ) or be dead code.
- Document the new mode in settings.js and Miew#load().
- Add tests for `excludeHetatmFromAutoBonding()` and a new
  `AutoBond.test.js` covering the exclusion behavior end-to-end via
  `Complex#finalize()`.

Co-authored-by: GitHub Copilot <copilot@github.com>

1495 of 5749 branches covered (26.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 3 files covered. (100.0%)

4337 of 15902 relevant lines covered (27.27%)

57938.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29459414975.1 15 Jul 2026 11:46PM UTC 234
26.94
GitHub Action Run
Source Files on build 29459414975
  • Tree
  • List 234
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29459414975
  • 0629dfc7 on github
  • Prev Build on 615-add-a-setting-to-switch-auto-bonding-off (#29377072750)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc