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.module.js CHANGED
@@ -80360,6 +80360,8 @@ class SaveFile {
80360
80360
  let resi = atom.resi;
80361
80361
  let resn = me.utilsCls.residueName2Abbr(atom.resn);
80362
80362
  let ss = this.secondary2Abbr(atom.ss);
80363
+ if(atom.ssbegin) ss += ' begin';
80364
+ else if(atom.ssend) ss += ' end';
80363
80365
 
80364
80366
  if(chainid != prevChainid && !data[chainid]) {
80365
80367
  data[chainid] = {"resi": [], "resn": [], "secondary": []};
@@ -80382,8 +80384,8 @@ class SaveFile {
80382
80384
  json += '{"chain": "' + chainid + '",\n';
80383
80385
 
80384
80386
  json += '"resi": "' + data[chainid]["resi"].join(',') + '",\n';
80385
- json += '"resn": "' + data[chainid]["resn"].join('') + '",\n';
80386
- json += '"secondary": "' + data[chainid]["secondary"].join('') + '"';
80387
+ json += '"resn": "' + data[chainid]["resn"].join(',') + '",\n';
80388
+ json += '"secondary": "' + data[chainid]["secondary"].join(',') + '"';
80387
80389
 
80388
80390
  if(i < cnt - 1) {
80389
80391
  json += '},\n';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icn3d",
3
- "version": "3.40.1",
3
+ "version": "3.40.3",
4
4
  "main": "./icn3d.js",
5
5
  "exports": {
6
6
  ".": {