openchemlib 8.13.0 → 8.14.0

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * openchemlib - Manipulate molecules
3
- * @version v8.13.0
4
- * @date 2024-05-28T09:16:08.892Z
3
+ * @version v8.14.0
4
+ * @date 2024-06-19T16:49:26.296Z
5
5
  * @link https://github.com/cheminfo/openchemlib-js
6
6
  * @license BSD-3-Clause
7
7
  */
@@ -16134,7 +16134,7 @@ _.setAtomParity_0 = function setAtomParity(atom, parity, isPseudo){
16134
16134
  this.mAtomFlags[atom] |= 4;
16135
16135
  }
16136
16136
  ;
16137
- _.setAtomQueryFeature = function setAtomQueryFeature(atom, feature, value_0){
16137
+ _.setAtomQueryFeature_0 = function setAtomQueryFeature(atom, feature, value_0){
16138
16138
  if (value_0)
16139
16139
  this.mAtomQueryFeatures[atom] = or_0(this.mAtomQueryFeatures[atom], feature);
16140
16140
  else
@@ -19659,7 +19659,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19659
19659
  no = this.decodeBits(abits);
19660
19660
  for (i8 = 0; i8 < no; i8++) {
19661
19661
  atom = this.decodeBits(abits);
19662
- this.mMol.setAtomQueryFeature(atom, 2048, true);
19662
+ this.mMol.setAtomQueryFeature_0(atom, 2048, true);
19663
19663
  }
19664
19664
 
19665
19665
  break;
@@ -19683,7 +19683,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19683
19683
  no = this.decodeBits(abits);
19684
19684
  for (i11 = 0; i11 < no; i11++) {
19685
19685
  atom = this.decodeBits(abits);
19686
- this.mMol.setAtomQueryFeature(atom, 4096, true);
19686
+ this.mMol.setAtomQueryFeature_0(atom, 4096, true);
19687
19687
  }
19688
19688
 
19689
19689
  break;
@@ -19692,7 +19692,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19692
19692
  for (i12 = 0; i12 < no; i12++) {
19693
19693
  atom = this.decodeBits(abits);
19694
19694
  ringState = shl_0(fromInt_0(this.decodeBits(4)), 3);
19695
- this.mMol.setAtomQueryFeature(atom, ringState, true);
19695
+ this.mMol.setAtomQueryFeature_0(atom, ringState, true);
19696
19696
  }
19697
19697
 
19698
19698
  break;
@@ -19701,7 +19701,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19701
19701
  for (i13 = 0; i13 < no; i13++) {
19702
19702
  atom = this.decodeBits(abits);
19703
19703
  aromState = shl_0(fromInt_0(this.decodeBits(2)), 1);
19704
- this.mMol.setAtomQueryFeature(atom, aromState, true);
19704
+ this.mMol.setAtomQueryFeature_0(atom, aromState, true);
19705
19705
  }
19706
19706
 
19707
19707
  break;
@@ -19709,7 +19709,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19709
19709
  no = this.decodeBits(abits);
19710
19710
  for (i14 = 0; i14 < no; i14++) {
19711
19711
  atom = this.decodeBits(abits);
19712
- this.mMol.setAtomQueryFeature(atom, 1, true);
19712
+ this.mMol.setAtomQueryFeature_0(atom, 1, true);
19713
19713
  }
19714
19714
 
19715
19715
  break;
@@ -19718,7 +19718,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19718
19718
  for (i15 = 0; i15 < no; i15++) {
19719
19719
  atom = this.decodeBits(abits);
19720
19720
  hydrogen = shl_0(fromInt_0(this.decodeBits(4)), 7);
19721
- this.mMol.setAtomQueryFeature(atom, hydrogen, true);
19721
+ this.mMol.setAtomQueryFeature_0(atom, hydrogen, true);
19722
19722
  }
19723
19723
 
19724
19724
  break;
@@ -19758,7 +19758,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19758
19758
  no = this.decodeBits(abits);
19759
19759
  for (i19 = 0; i19 < no; i19++) {
19760
19760
  atom = this.decodeBits(abits);
19761
- this.mMol.setAtomQueryFeature(atom, 8192, true);
19761
+ this.mMol.setAtomQueryFeature_0(atom, 8192, true);
19762
19762
  }
19763
19763
 
19764
19764
  break;
@@ -19776,7 +19776,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19776
19776
  for (i21 = 0; i21 < no; i21++) {
19777
19777
  atom = this.decodeBits(abits);
19778
19778
  piElectrons = shl_0(fromInt_0(this.decodeBits(3)), 14);
19779
- this.mMol.setAtomQueryFeature(atom, piElectrons, true);
19779
+ this.mMol.setAtomQueryFeature_0(atom, piElectrons, true);
19780
19780
  }
19781
19781
 
19782
19782
  break;
@@ -19785,7 +19785,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19785
19785
  for (i22 = 0; i22 < no; i22++) {
19786
19786
  atom = this.decodeBits(abits);
19787
19787
  neighbours = shl_0(fromInt_0(this.decodeBits(5)), 17);
19788
- this.mMol.setAtomQueryFeature(atom, neighbours, true);
19788
+ this.mMol.setAtomQueryFeature_0(atom, neighbours, true);
19789
19789
  }
19790
19790
 
19791
19791
  break;
@@ -19798,7 +19798,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19798
19798
  for (i23 = 0; i23 < no; i23++) {
19799
19799
  atom = this.decodeBits(abits);
19800
19800
  ringSize = shl_0(fromInt_0(this.decodeBits(3)), 22);
19801
- this.mMol.setAtomQueryFeature(atom, ringSize, true);
19801
+ this.mMol.setAtomQueryFeature_0(atom, ringSize, true);
19802
19802
  }
19803
19803
 
19804
19804
  break;
@@ -19828,7 +19828,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19828
19828
  for (i26 = 0; i26 < no; i26++) {
19829
19829
  atom = this.decodeBits(abits);
19830
19830
  charge = shl_0(fromInt_0(this.decodeBits(3)), 25);
19831
- this.mMol.setAtomQueryFeature(atom, charge, true);
19831
+ this.mMol.setAtomQueryFeature_0(atom, charge, true);
19832
19832
  }
19833
19833
 
19834
19834
  break;
@@ -19853,7 +19853,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19853
19853
  no = this.decodeBits(abits);
19854
19854
  for (i29 = 0; i29 < no; i29++) {
19855
19855
  atom = this.decodeBits(abits);
19856
- this.mMol.setAtomQueryFeature(atom, 268435456, true);
19856
+ this.mMol.setAtomQueryFeature_0(atom, 268435456, true);
19857
19857
  }
19858
19858
 
19859
19859
  break;
@@ -19889,7 +19889,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19889
19889
  no = this.decodeBits(abits);
19890
19890
  for (i34 = 0; i34 < no; i34++) {
19891
19891
  atom = this.decodeBits(abits);
19892
- this.mMol.setAtomQueryFeature(atom, 536870912, true);
19892
+ this.mMol.setAtomQueryFeature_0(atom, 536870912, true);
19893
19893
  }
19894
19894
 
19895
19895
  break;
@@ -19903,7 +19903,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19903
19903
  for (i36 = 0; i36 < no; i36++) {
19904
19904
  atom = this.decodeBits(abits);
19905
19905
  hint = shl_0(fromInt_0(this.decodeBits(2)), 30);
19906
- this.mMol.setAtomQueryFeature(atom, hint, true);
19906
+ this.mMol.setAtomQueryFeature_0(atom, hint, true);
19907
19907
  }
19908
19908
 
19909
19909
  break;
@@ -19912,7 +19912,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19912
19912
  for (i37 = 0; i37 < no; i37++) {
19913
19913
  atom = this.decodeBits(abits);
19914
19914
  ringSize = shl_0(fromInt_0(this.decodeBits(7)), 32);
19915
- this.mMol.setAtomQueryFeature(atom, ringSize, true);
19915
+ this.mMol.setAtomQueryFeature_0(atom, ringSize, true);
19916
19916
  }
19917
19917
 
19918
19918
  break;
@@ -19921,7 +19921,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19921
19921
  for (i38 = 0; i38 < no; i38++) {
19922
19922
  atom = this.decodeBits(abits);
19923
19923
  stereoState = shl_0(fromInt_0(this.decodeBits(2)), 44);
19924
- this.mMol.setAtomQueryFeature(atom, stereoState, true);
19924
+ this.mMol.setAtomQueryFeature_0(atom, stereoState, true);
19925
19925
  }
19926
19926
 
19927
19927
  break;
@@ -19930,7 +19930,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19930
19930
  for (i39 = 0; i39 < no; i39++) {
19931
19931
  atom = this.decodeBits(abits);
19932
19932
  eNeighbours = shl_0(fromInt_0(this.decodeBits(5)), 39);
19933
- this.mMol.setAtomQueryFeature(atom, eNeighbours, true);
19933
+ this.mMol.setAtomQueryFeature_0(atom, eNeighbours, true);
19934
19934
  }
19935
19935
 
19936
19936
  break;
@@ -19938,7 +19938,7 @@ _.parse_3 = function parse_3(mol, idcode, coordinates, idcodeStart, coordsStart)
19938
19938
  no = this.decodeBits(abits);
19939
19939
  for (i40 = 0; i40 < no; i40++) {
19940
19940
  atom = this.decodeBits(abits);
19941
- this.mMol.setAtomQueryFeature(atom, {l:0, m:0, h:4}, true);
19941
+ this.mMol.setAtomQueryFeature_0(atom, {l:0, m:0, h:4}, true);
19942
19942
  }
19943
19943
 
19944
19944
  break;
@@ -22313,7 +22313,7 @@ _.interpretV3AtomLine = function interpretV3AtomLine(line){
22313
22313
  this.mMol.setAtomMapNo_0(atom, mapNo, false);
22314
22314
  }
22315
22315
  if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, 'A') || jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, '*')) {
22316
- this.mMol.setAtomQueryFeature(atom, 1, true);
22316
+ this.mMol.setAtomQueryFeature_0(atom, 1, true);
22317
22317
  }
22318
22318
  else if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, 'Q')) {
22319
22319
  list = initUnidimensionalArray(cggl.I_classLit, {6:1, 4:1, 1:1}, 5, 1, 15, 1);
@@ -22358,21 +22358,21 @@ _.interpretV3AtomLine = function interpretV3AtomLine(line){
22358
22358
  case 0:
22359
22359
  break;
22360
22360
  case -1:
22361
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(256, 512), 1024), true);
22361
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(256, 512), 1024), true);
22362
22362
  break;
22363
22363
  case 1:
22364
- this.mMol.setAtomQueryFeature(atom, 128, true);
22364
+ this.mMol.setAtomQueryFeature_0(atom, 128, true);
22365
22365
  break;
22366
22366
  case 2:
22367
- this.mMol.setAtomQueryFeature(atom, or_0(128, 256), true);
22367
+ this.mMol.setAtomQueryFeature_0(atom, or_0(128, 256), true);
22368
22368
  break;
22369
- default:this.mMol.setAtomQueryFeature(atom, or_0(or_0(128, 256), 512), true);
22369
+ default:this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(128, 256), 512), true);
22370
22370
  break;
22371
22371
  }
22372
22372
  }
22373
22373
  else if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(field, 'SUBST')) {
22374
22374
  if (value_0 == -1) {
22375
- this.mMol.setAtomQueryFeature(atom, 2048, true);
22375
+ this.mMol.setAtomQueryFeature_0(atom, 2048, true);
22376
22376
  }
22377
22377
  else if (value_0 > 0) {
22378
22378
  substitutionCount = 0;
@@ -22382,26 +22382,26 @@ _.interpretV3AtomLine = function interpretV3AtomLine(line){
22382
22382
  }
22383
22383
  }
22384
22384
  if (value_0 > substitutionCount) {
22385
- this.mMol.setAtomQueryFeature(atom, 4096, true);
22385
+ this.mMol.setAtomQueryFeature_0(atom, 4096, true);
22386
22386
  }
22387
22387
  }
22388
22388
  }
22389
22389
  else if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(field, 'RBCNT')) {
22390
22390
  switch (value_0) {
22391
22391
  case -1:
22392
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(16, 32), 64), true);
22392
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(16, 32), 64), true);
22393
22393
  break;
22394
22394
  case 1:
22395
- this.mMol.setAtomQueryFeature(atom, 8, true);
22395
+ this.mMol.setAtomQueryFeature_0(atom, 8, true);
22396
22396
  break;
22397
22397
  case 2:
22398
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(8, 32), 64), true);
22398
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(8, 32), 64), true);
22399
22399
  break;
22400
22400
  case 3:
22401
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(16, 32), 64), true);
22401
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(16, 32), 64), true);
22402
22402
  break;
22403
22403
  case 4:
22404
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(8, 16), 32), true);
22404
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(8, 16), 32), true);
22405
22405
  break;
22406
22406
  }
22407
22407
  }
@@ -22733,7 +22733,7 @@ _.readMoleculeFromBuffer = function readMoleculeFromBuffer(reader){
22733
22733
  atom = this.mMol.addAtom_1(x_0, -y_0, -z_0);
22734
22734
  label_0 = jl.trim__Ljava_lang_String___devirtual$(jl.substring_II_Ljava_lang_String___devirtual$(line, 31, 34));
22735
22735
  if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, 'A') || jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, '*')) {
22736
- this.mMol.setAtomQueryFeature(atom, 1, true);
22736
+ this.mMol.setAtomQueryFeature_0(atom, 1, true);
22737
22737
  }
22738
22738
  else if (jl.equals_Ljava_lang_Object__Z__devirtual$_2(label_0, 'Q')) {
22739
22739
  list = initUnidimensionalArray(cggl.I_classLit, {6:1, 4:1, 1:1}, 5, 1, 15, 1);
@@ -22762,19 +22762,19 @@ _.readMoleculeFromBuffer = function readMoleculeFromBuffer(reader){
22762
22762
  case 0:
22763
22763
  break;
22764
22764
  case 1:
22765
- this.mMol.setAtomQueryFeature(atom, or_0(256, 512), true);
22765
+ this.mMol.setAtomQueryFeature_0(atom, or_0(256, 512), true);
22766
22766
  break;
22767
22767
  case 2:
22768
- this.mMol.setAtomQueryFeature(atom, 128, true);
22768
+ this.mMol.setAtomQueryFeature_0(atom, 128, true);
22769
22769
  break;
22770
22770
  case 3:
22771
- this.mMol.setAtomQueryFeature(atom, or_0(128, 256), true);
22771
+ this.mMol.setAtomQueryFeature_0(atom, or_0(128, 256), true);
22772
22772
  break;
22773
- default:this.mMol.setAtomQueryFeature(atom, or_0(or_0(128, 256), 512), true);
22773
+ default:this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(128, 256), 512), true);
22774
22774
  break;
22775
22775
  }
22776
22776
  if (jl.length__I__devirtual$_0(line) >= 48 && jl.charAt_I_C__devirtual$_0(line, 47) == 49) {
22777
- this.mMol.setAtomQueryFeature(atom, 8192, true);
22777
+ this.mMol.setAtomQueryFeature_0(atom, 8192, true);
22778
22778
  }
22779
22779
  v = jl.length__I__devirtual$_0(line) < 51?0:this.parseIntOrSpaces(jl.trim__Ljava_lang_String___devirtual$(jl.substring_II_Ljava_lang_String___devirtual$(line, 48, 51)));
22780
22780
  if (v != 0) {
@@ -22869,19 +22869,19 @@ _.readMoleculeFromBuffer = function readMoleculeFromBuffer(reader){
22869
22869
  ringState = jl.parseInt_2(jl.trim__Ljava_lang_String___devirtual$(jl.substring_II_Ljava_lang_String___devirtual$(line, vvv, vvv + 3)));
22870
22870
  switch (ringState) {
22871
22871
  case -1:
22872
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(16, 32), 64), true);
22872
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(16, 32), 64), true);
22873
22873
  break;
22874
22874
  case 1:
22875
- this.mMol.setAtomQueryFeature(atom, 8, true);
22875
+ this.mMol.setAtomQueryFeature_0(atom, 8, true);
22876
22876
  break;
22877
22877
  case 2:
22878
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(8, 32), 64), true);
22878
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(8, 32), 64), true);
22879
22879
  break;
22880
22880
  case 3:
22881
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(16, 32), 64), true);
22881
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(16, 32), 64), true);
22882
22882
  break;
22883
22883
  case 4:
22884
- this.mMol.setAtomQueryFeature(atom, or_0(or_0(8, 16), 32), true);
22884
+ this.mMol.setAtomQueryFeature_0(atom, or_0(or_0(8, 16), 32), true);
22885
22885
  break;
22886
22886
  }
22887
22887
  }
@@ -22911,7 +22911,7 @@ _.readMoleculeFromBuffer = function readMoleculeFromBuffer(reader){
22911
22911
  atom = jl.parseInt_2(jl.trim__Ljava_lang_String___devirtual$(jl.substring_II_Ljava_lang_String___devirtual$(line, aaa, aaa + 3))) - 1;
22912
22912
  substitution = jl.parseInt_2(jl.trim__Ljava_lang_String___devirtual$(jl.substring_II_Ljava_lang_String___devirtual$(line, vvv, vvv + 3)));
22913
22913
  if (substitution == -2) {
22914
- this.mMol.setAtomQueryFeature(atom, 2048, true);
22914
+ this.mMol.setAtomQueryFeature_0(atom, 2048, true);
22915
22915
  }
22916
22916
  else if (substitution > 0) {
22917
22917
  substitutionCount = 0;
@@ -22921,7 +22921,7 @@ _.readMoleculeFromBuffer = function readMoleculeFromBuffer(reader){
22921
22921
  }
22922
22922
  }
22923
22923
  if (substitution > substitutionCount) {
22924
- this.mMol.setAtomQueryFeature(atom, 4096, true);
22924
+ this.mMol.setAtomQueryFeature_0(atom, 4096, true);
22925
22925
  }
22926
22926
  }
22927
22927
  }
@@ -26401,7 +26401,7 @@ _.locateAromaticDoubleBonds = function locateAromaticDoubleBonds(allowSmartsFeat
26401
26401
  for (atom = 0; atom < this.mMol.getAtoms_0(); atom++) {
26402
26402
  if (this.mMol.isMarkedAtom_0(atom)) {
26403
26403
  this.mMol.setAtomMarker_0(atom, false);
26404
- this.mMol.setAtomQueryFeature(atom, 2, true);
26404
+ this.mMol.setAtomQueryFeature_0(atom, 2, true);
26405
26405
  this.mAromaticAtoms--;
26406
26406
  smartsFeatureFound = true;
26407
26407
  }
@@ -26850,7 +26850,7 @@ _.parse_8 = function parse_9(mol, smiles, position, endIndex, createCoordinates,
26850
26850
  else {
26851
26851
  this.mMol.setAtomMarker_0(atom0, false);
26852
26852
  }
26853
- this.mMol.setAtomQueryFeature(atom0, atomQueryFeatures, true);
26853
+ this.mMol.setAtomQueryFeature_0(atom0, atomQueryFeatures, true);
26854
26854
  }
26855
26855
  if (atomList.size_1() != 0) {
26856
26856
  this.mSmartsFeatureFound = true;
@@ -27133,13 +27133,13 @@ _.parse_8 = function parse_9(mol, smiles, position, endIndex, createCoordinates,
27133
27133
  }
27134
27134
  else {
27135
27135
  if (explicitHydrogen == 0)
27136
- this.mMol.setAtomQueryFeature(atom, and_0(1920, not_0(128)), true);
27136
+ this.mMol.setAtomQueryFeature_0(atom, and_0(1920, not_0(128)), true);
27137
27137
  if (explicitHydrogen == 1)
27138
- this.mMol.setAtomQueryFeature(atom, and_0(1920, not_0(256)), true);
27138
+ this.mMol.setAtomQueryFeature_0(atom, and_0(1920, not_0(256)), true);
27139
27139
  if (explicitHydrogen == 2)
27140
- this.mMol.setAtomQueryFeature(atom, and_0(1920, not_0(512)), true);
27140
+ this.mMol.setAtomQueryFeature_0(atom, and_0(1920, not_0(512)), true);
27141
27141
  if (explicitHydrogen == 3)
27142
- this.mMol.setAtomQueryFeature(atom, and_0(1920, not_0(1024)), true);
27142
+ this.mMol.setAtomQueryFeature_0(atom, and_0(1920, not_0(1024)), true);
27143
27143
  }
27144
27144
  }
27145
27145
  }
@@ -27178,13 +27178,13 @@ _.parse_8 = function parse_9(mol, smiles, position, endIndex, createCoordinates,
27178
27178
  else if (!this.mMakeHydrogenExplicit && (this.mSmartsFeatureFound || this.mSmartsMode == 2)) {
27179
27179
  explicitHydrogen = this.mMol.getExplicitHydrogens_0(atom);
27180
27180
  if (explicitHydrogen >= 1)
27181
- this.mMol.setAtomQueryFeature(atom, 128, true);
27181
+ this.mMol.setAtomQueryFeature_0(atom, 128, true);
27182
27182
  if (explicitHydrogen >= 2)
27183
- this.mMol.setAtomQueryFeature(atom, 256, true);
27183
+ this.mMol.setAtomQueryFeature_0(atom, 256, true);
27184
27184
  if (explicitHydrogen >= 3)
27185
- this.mMol.setAtomQueryFeature(atom, 512, true);
27185
+ this.mMol.setAtomQueryFeature_0(atom, 512, true);
27186
27186
  if (explicitHydrogen >= 4)
27187
- this.mMol.setAtomQueryFeature(atom, 1024, true);
27187
+ this.mMol.setAtomQueryFeature_0(atom, 1024, true);
27188
27188
  }
27189
27189
  }
27190
27190
  if (!this.mMakeHydrogenExplicit && (this.mSmartsFeatureFound || this.mSmartsMode == 2))
@@ -27365,7 +27365,7 @@ _.parseRecursiveGroup = function parseRecursiveGroup(smiles, dollarIndex, groupL
27365
27365
  groupList.add(group);
27366
27366
  if (smiles[dollarIndex - 1] == 33)
27367
27367
  for (atom = 0; atom < group.getAllAtoms_0(); atom++)
27368
- group.setAtomQueryFeature(atom, 536870912, true);
27368
+ group.setAtomQueryFeature_0(atom, 536870912, true);
27369
27369
  return endIndex - dollarIndex;
27370
27370
  }
27371
27371
  ;
@@ -30298,7 +30298,7 @@ _.classify = function classify(mol, bond){
30298
30298
  }
30299
30299
  for (i4 = 0; i4 < 2; i4++) {
30300
30300
  if (mol.isFlatNitrogen_0(this.mCentralAtom[i4]))
30301
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[this.mCentralAtom[i4]], 268435456, true);
30301
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[this.mCentralAtom[i4]], 268435456, true);
30302
30302
  delocalizedBondFound = false;
30303
30303
  for (j = 0; j < mol.getConnAtoms_0(this.mCentralAtom[i4]); j++) {
30304
30304
  connAtom = mol.getConnAtom_0(this.mCentralAtom[i4], j);
@@ -30309,7 +30309,7 @@ _.classify = function classify(mol, bond){
30309
30309
  }
30310
30310
  else if (mol.getAtomicNo_0(connAtom) == 6 && !mol.isAromaticAtom_1(this.mCentralAtom[i4])) {
30311
30311
  feature = mol.isAromaticAtom_1(connAtom)?2:4;
30312
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[connAtom], feature, true);
30312
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[connAtom], feature, true);
30313
30313
  }
30314
30314
  connBond = mol.getConnBond_0(this.mCentralAtom[i4], j);
30315
30315
  ringSize = mol.getBondRingSize_0(connBond);
@@ -30322,29 +30322,29 @@ _.classify = function classify(mol, bond){
30322
30322
  hasZ = mol.getZNeighbour_0(this.mCentralAtom[1 - i4], connBond) != -1;
30323
30323
  if (hasZ) {
30324
30324
  feature = and_0(4063232, not_0(1048576));
30325
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[connAtom], feature, true);
30325
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[connAtom], feature, true);
30326
30326
  }
30327
30327
  else if (mol.isAromaticBond_0(connBond)) {
30328
30328
  feature = and_0(4063232, not_0(524288));
30329
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[connAtom], feature, true);
30329
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[connAtom], feature, true);
30330
30330
  }
30331
30331
  }
30332
30332
  if (mol.getConnBondOrder_0(this.mCentralAtom[i4], j) == 1) {
30333
30333
  if (mol.getNonHydrogenNeighbourCount_0(connAtom) == 4) {
30334
30334
  feature = and_0(4063232, not_0(2097152));
30335
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[connAtom], feature, true);
30335
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[connAtom], feature, true);
30336
30336
  }
30337
30337
  else if (mol.getAtomicNo_0(connAtom) == 6) {
30338
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[connAtom], 2097152, true);
30338
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[connAtom], 2097152, true);
30339
30339
  }
30340
30340
  }
30341
30341
  }
30342
30342
  }
30343
30343
  if (!delocalizedBondFound) {
30344
30344
  if (mol.isAromaticAtom_1(this.mCentralAtom[i4]))
30345
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[this.mCentralAtom[i4]], 2, true);
30345
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[this.mCentralAtom[i4]], 2, true);
30346
30346
  else
30347
- this.mFragment.setAtomQueryFeature(this.mToFragmentAtom[this.mCentralAtom[i4]], 4, true);
30347
+ this.mFragment.setAtomQueryFeature_0(this.mToFragmentAtom[this.mCentralAtom[i4]], 4, true);
30348
30348
  }
30349
30349
  }
30350
30350
  this.mFragment.ensureHelperArrays_0(63 | 128);
@@ -40127,7 +40127,7 @@ carcr.encode_0 = function encode_0(reaction, keepAbsoluteCoordinates, sortByIDCo
40127
40127
  mol = reaction.getMolecule_1(i0);
40128
40128
  if (mol.isFragment_0() && i0 < reaction.getReactants_0())
40129
40129
  for (atom = 0; atom < mol.getAllAtoms_0(); atom++)
40130
- mol.setAtomQueryFeature(atom, 3221225472, false);
40130
+ mol.setAtomQueryFeature_0(atom, 3221225472, false);
40131
40131
  canonizer = new carc2.Canonizer(mol);
40132
40132
  idcode[i0] = canonizer.getIDCode_0();
40133
40133
  if (jsEquals(idcode[i0], null)) {
@@ -49310,8 +49310,8 @@ _.setQueryFeatures_0 = function setQueryFeatures_0(atom, atomList){
49310
49310
  queryFeatures = or_0(queryFeatures, 8192);
49311
49311
  if (jl.booleanValue__Z__devirtual$(this.mCBExcludeGroup.getValue_2()))
49312
49312
  queryFeatures = or_0(queryFeatures, 536870912);
49313
- this.mMol.setAtomQueryFeature(atom, -1, false);
49314
- this.mMol.setAtomQueryFeature(atom, queryFeatures, true);
49313
+ this.mMol.setAtomQueryFeature_0(atom, -1, false);
49314
+ this.mMol.setAtomQueryFeature_0(atom, queryFeatures, true);
49315
49315
  }
49316
49316
  ;
49317
49317
  _.setupHandlers_0 = function setupHandlers_0(){
@@ -52088,6 +52088,10 @@ _.setAtomParity = function setAtomParity_0(atom, parity, isPseudo){
52088
52088
  this.oclMolecule.setAtomParity_0(atom, parity, isPseudo);
52089
52089
  }
52090
52090
  ;
52091
+ _.setAtomQueryFeature = function setAtomQueryFeature_0(atom, feature, value_0){
52092
+ this.oclMolecule.setAtomQueryFeature_0(atom, feature, value_0);
52093
+ }
52094
+ ;
52091
52095
  _.setAtomRadical = function setAtomRadical_0(atom, radical){
52092
52096
  this.oclMolecule.setAtomRadical_0(atom, radical);
52093
52097
  }
@@ -53188,14 +53192,14 @@ cargm.getAtomQueryFeatures_0 = function getAtomQueryFeatures_0(oclMolecule, atom
53188
53192
  cargm.$setPropertyBoolean(toReturn, 'moreNeighbours', gt(and_0(atomQueryFeatures, 4096), 0));
53189
53193
  cargm.$setPropertyBoolean(toReturn, 'matchStereo', gt(and_0(atomQueryFeatures, 8192), 0));
53190
53194
  cargm.$setPropertyBoolean(toReturn, 'not0PiElectrons', gt(and_0(atomQueryFeatures, 16384), 0));
53191
- cargm.$setPropertyBoolean(toReturn, 'not1PiElectrons', gt(and_0(atomQueryFeatures, 32768), 0));
53195
+ cargm.$setPropertyBoolean(toReturn, 'not1PiElectron', gt(and_0(atomQueryFeatures, 32768), 0));
53192
53196
  cargm.$setPropertyBoolean(toReturn, 'not2PiElectrons', gt(and_0(atomQueryFeatures, 65536), 0));
53193
53197
  cargm.$setPropertyBoolean(toReturn, 'not0Hydrogen', gt(and_0(atomQueryFeatures, 128), 0));
53194
53198
  cargm.$setPropertyBoolean(toReturn, 'not1Hydrogen', gt(and_0(atomQueryFeatures, 256), 0));
53195
53199
  cargm.$setPropertyBoolean(toReturn, 'not2Hydrogen', gt(and_0(atomQueryFeatures, 512), 0));
53196
53200
  cargm.$setPropertyBoolean(toReturn, 'not3Hydrogen', gt(and_0(atomQueryFeatures, 1024), 0));
53197
53201
  cargm.$setPropertyBoolean(toReturn, 'not0Neighbours', gt(and_0(atomQueryFeatures, 131072), 0));
53198
- cargm.$setPropertyBoolean(toReturn, 'not1Neighbours', gt(and_0(atomQueryFeatures, 131072), 0));
53202
+ cargm.$setPropertyBoolean(toReturn, 'not1Neighbour', gt(and_0(atomQueryFeatures, 262144), 0));
53199
53203
  cargm.$setPropertyBoolean(toReturn, 'not2Neighbours', gt(and_0(atomQueryFeatures, 524288), 0));
53200
53204
  cargm.$setPropertyBoolean(toReturn, 'not3Neighbours', gt(and_0(atomQueryFeatures, 1048576), 0));
53201
53205
  cargm.$setPropertyBoolean(toReturn, 'not4Neighbours', gt(and_0(atomQueryFeatures, 2097152), 0));
@@ -86243,7 +86247,7 @@ _.createFragment = function createFragment(mol, fragmentNo, fragmentIndex){
86243
86247
  for (atom3 = 0; atom3 < mol.getAllAtoms_0(); atom3++) {
86244
86248
  if (includeAtom[atom3]) {
86245
86249
  if (mol.isFlatNitrogen_0(atom3))
86246
- fragment.setAtomQueryFeature(fragmentAtom, 268435456, true);
86250
+ fragment.setAtomQueryFeature_0(fragmentAtom, 268435456, true);
86247
86251
  if (!isCoreFragment[atom3])
86248
86252
  fragment.setAtomMarker_0(fragmentAtom, true);
86249
86253
  if (isCoreFragment[atom3] || !isOuterShellAtom[atom3]) {
@@ -90611,7 +90615,7 @@ $gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps
90611
90615
 
90612
90616
  var toReturn = $wnd["OCL"];
90613
90617
 
90614
- toReturn.version = '8.13.0';
90618
+ toReturn.version = '8.14.0';
90615
90619
 
90616
90620
  return toReturn;
90617
90621
  }