File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed
tool/group/src/main/java/org/openscience/cdk/group Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 39
39
<groupId >org.openscience.cdk</groupId >
40
40
<artifactId >cdk-formula</artifactId >
41
41
<version >${project.version} </version >
42
- <scope >test</scope >
43
42
</dependency >
44
43
<dependency >
45
44
<groupId >org.openscience.cdk</groupId >
46
45
<artifactId >cdk-reaction</artifactId >
47
46
<version >${project.version} </version >
48
- <scope >test</scope >
49
47
</dependency >
50
48
<dependency >
51
49
<groupId >org.openscience.cdk</groupId >
52
50
<artifactId >cdk-isomorphism</artifactId >
53
51
<version >${project.version} </version >
54
- <scope >test</scope >
55
52
</dependency >
56
53
<dependency >
57
54
<groupId >org.openscience.cdk</groupId >
58
55
<artifactId >cdk-core</artifactId >
59
56
<version >${project.version} </version >
60
- <scope >test</scope >
61
57
</dependency >
62
58
<dependency >
63
59
<groupId >org.openscience.cdk</groupId >
64
60
<artifactId >cdk-valencycheck</artifactId >
65
61
<version >${project.version} </version >
66
- <scope >test</scope >
67
62
</dependency >
68
63
<dependency >
69
64
<groupId >org.openscience.cdk</groupId >
166
161
<type >test-jar</type >
167
162
<scope >test</scope >
168
163
</dependency >
164
+ <dependency >
165
+ <groupId >org.openscience.cdk</groupId >
166
+ <artifactId >cdk-qsar</artifactId >
167
+ <version >${project.version} </version >
168
+ </dependency >
169
169
<dependency >
170
170
<groupId >org.openscience.cdk</groupId >
171
171
<artifactId >cdk-qsar</artifactId >
Original file line number Diff line number Diff line change 31
31
import java .util .SortedSet ;
32
32
import java .util .TreeSet ;
33
33
34
- import org .openscience .cdk .CDKConstants ;
35
34
import org .openscience .cdk .interfaces .IAtom ;
36
35
import org .openscience .cdk .interfaces .IAtomContainer ;
37
36
import org .openscience .cdk .interfaces .IBond ;
@@ -232,7 +231,7 @@ private void setupConnectionTable(IAtomContainer atomContainer) {
232
231
connectionTable [atomIndex ][i ] = index ;
233
232
if (!ignoreBondOrders ) {
234
233
IBond bond = atomContainer .getBond (atom , connected );
235
- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
234
+ boolean isArom = bond .isAromatic ( );
236
235
int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
237
236
bondOrders [atomIndex ][i ] = orderNumber ;
238
237
Original file line number Diff line number Diff line change 31
31
import java .util .SortedSet ;
32
32
import java .util .TreeSet ;
33
33
34
- import org .openscience .cdk .CDKConstants ;
35
34
import org .openscience .cdk .interfaces .IAtomContainer ;
36
35
import org .openscience .cdk .interfaces .IBond ;
37
36
@@ -119,7 +118,7 @@ public Partition getInitialPartition() {
119
118
// doesn't matter what it is, so long as it's constant
120
119
boS = "1" ;
121
120
} else {
122
- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
121
+ boolean isArom = bond .isAromatic ( );
123
122
int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
124
123
boS = String .valueOf (orderNumber );
125
124
}
@@ -168,7 +167,7 @@ private void setupConnectionTable(IAtomContainer atomContainer) {
168
167
// doesn't matter what it is, so long as it's constant
169
168
boS = "1" ;
170
169
} else {
171
- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
170
+ boolean isArom = bond .isAromatic ( );
172
171
int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
173
172
boS = String .valueOf (orderNumber );
174
173
}
You can’t perform that action at this time.
0 commit comments