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 3939 <groupId >org.openscience.cdk</groupId >
4040 <artifactId >cdk-formula</artifactId >
4141 <version >${project.version} </version >
42- <scope >test</scope >
4342 </dependency >
4443 <dependency >
4544 <groupId >org.openscience.cdk</groupId >
4645 <artifactId >cdk-reaction</artifactId >
4746 <version >${project.version} </version >
48- <scope >test</scope >
4947 </dependency >
5048 <dependency >
5149 <groupId >org.openscience.cdk</groupId >
5250 <artifactId >cdk-isomorphism</artifactId >
5351 <version >${project.version} </version >
54- <scope >test</scope >
5552 </dependency >
5653 <dependency >
5754 <groupId >org.openscience.cdk</groupId >
5855 <artifactId >cdk-core</artifactId >
5956 <version >${project.version} </version >
60- <scope >test</scope >
6157 </dependency >
6258 <dependency >
6359 <groupId >org.openscience.cdk</groupId >
6460 <artifactId >cdk-valencycheck</artifactId >
6561 <version >${project.version} </version >
66- <scope >test</scope >
6762 </dependency >
6863 <dependency >
6964 <groupId >org.openscience.cdk</groupId >
166161 <type >test-jar</type >
167162 <scope >test</scope >
168163 </dependency >
164+ <dependency >
165+ <groupId >org.openscience.cdk</groupId >
166+ <artifactId >cdk-qsar</artifactId >
167+ <version >${project.version} </version >
168+ </dependency >
169169 <dependency >
170170 <groupId >org.openscience.cdk</groupId >
171171 <artifactId >cdk-qsar</artifactId >
Original file line number Diff line number Diff line change 3131import java .util .SortedSet ;
3232import java .util .TreeSet ;
3333
34- import org .openscience .cdk .CDKConstants ;
3534import org .openscience .cdk .interfaces .IAtom ;
3635import org .openscience .cdk .interfaces .IAtomContainer ;
3736import org .openscience .cdk .interfaces .IBond ;
@@ -232,7 +231,7 @@ private void setupConnectionTable(IAtomContainer atomContainer) {
232231 connectionTable [atomIndex ][i ] = index ;
233232 if (!ignoreBondOrders ) {
234233 IBond bond = atomContainer .getBond (atom , connected );
235- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
234+ boolean isArom = bond .isAromatic ( );
236235 int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
237236 bondOrders [atomIndex ][i ] = orderNumber ;
238237
Original file line number Diff line number Diff line change 3131import java .util .SortedSet ;
3232import java .util .TreeSet ;
3333
34- import org .openscience .cdk .CDKConstants ;
3534import org .openscience .cdk .interfaces .IAtomContainer ;
3635import org .openscience .cdk .interfaces .IBond ;
3736
@@ -119,7 +118,7 @@ public Partition getInitialPartition() {
119118 // doesn't matter what it is, so long as it's constant
120119 boS = "1" ;
121120 } else {
122- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
121+ boolean isArom = bond .isAromatic ( );
123122 int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
124123 boS = String .valueOf (orderNumber );
125124 }
@@ -168,7 +167,7 @@ private void setupConnectionTable(IAtomContainer atomContainer) {
168167 // doesn't matter what it is, so long as it's constant
169168 boS = "1" ;
170169 } else {
171- boolean isArom = bond .getFlag ( CDKConstants . ISAROMATIC );
170+ boolean isArom = bond .isAromatic ( );
172171 int orderNumber = (isArom ) ? 5 : bond .getOrder ().numeric ();
173172 boS = String .valueOf (orderNumber );
174173 }
You can’t perform that action at this time.
0 commit comments