icn3d 3.40.1 → 3.40.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/icn3d.js CHANGED
@@ -79459,6 +79459,8 @@ class SaveFile {
79459
79459
  let resi = atom.resi;
79460
79460
  let resn = me.utilsCls.residueName2Abbr(atom.resn);
79461
79461
  let ss = this.secondary2Abbr(atom.ss);
79462
+ if(atom.ssbegin) ss += ' begin';
79463
+ else if(atom.ssend) ss += ' end';
79462
79464
 
79463
79465
  if(chainid != prevChainid && !data[chainid]) {
79464
79466
  data[chainid] = {"resi": [], "resn": [], "secondary": []};
@@ -79481,8 +79483,8 @@ class SaveFile {
79481
79483
  json += '{"chain": "' + chainid + '",\n';
79482
79484
 
79483
79485
  json += '"resi": "' + data[chainid]["resi"].join(',') + '",\n';
79484
- json += '"resn": "' + data[chainid]["resn"].join('') + '",\n';
79485
- json += '"secondary": "' + data[chainid]["secondary"].join('') + '"';
79486
+ json += '"resn": "' + data[chainid]["resn"].join(',') + '",\n';
79487
+ json += '"secondary": "' + data[chainid]["secondary"].join(',') + '"';
79486
79488
 
79487
79489
  if(i < cnt - 1) {
79488
79490
  json += '},\n';