Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mark_rynbeek committed Jun 7, 2010
1 parent a5c4e10 commit 4c5a910
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
1 change: 1 addition & 0 deletions build.xml
Expand Up @@ -307,6 +307,7 @@
<class name="org.openscience.cdk.tools.LoggingTool" methods="public" fields="none" />
<class name="org.openscience.cdk.tools.ILoggingTool" methods="public" fields="none" />
<class name="org.openscience.cdk.interfaces.IChemObjectBuilder" methods="public" fields="none" />
<class name="org.openscience.cdk.interfaces.IAtomContainer" methods="public" fields="none" />
<class name="org.openscience.cdk.controller.IControllerModel" methods="public" fields="none" />
<class name="org.openscience.cdk.controller.IChemModelRelay" methods="public" fields="none" />
<class name="org.openscience.cdk.tools.manipulator.AtomContainerManipulator" methods="public" fields="none" />
Expand Down
Expand Up @@ -80,9 +80,9 @@ public void setOverrideBondWidth(double bondWidth) {
}

protected IRingSet getRingSet(final IAtomContainer atomContainer,RendererModel renderModel) {
if(renderModel.isRecalculationRequiredForSSSR() || this.ringSet==null) {
System.out.println("recalc SSSR");
renderModel.setRecalculationRequiredForSSSR(false);
//if(renderModel.isRecalculationRequiredForSSSR() || this.ringSet==null) {
// System.out.println("recalc SSSR");
// renderModel.setRecalculationRequiredForSSSR(false);
IRingSet ringSet = atomContainer.getBuilder().newInstance(
IRingSet.class);
try {
Expand All @@ -100,10 +100,10 @@ protected IRingSet getRingSet(final IAtomContainer atomContainer,RendererModel r
logger.debug(exception);
return ringSet;
}
}
else {
return this.ringSet;
}
//}
//else {
// return this.ringSet;
//}

}

Expand Down
6 changes: 6 additions & 0 deletions yguard.readme
@@ -0,0 +1,6 @@
Download the yguard.jar file from http://www.yworks.com/en/downloads.html#yGuard.
Put the file yguard.jar in this directory.
You can then invoke the 'shrink' task in the build.xml.
It's not allowed to include the yguard.jar file in the JCP distribution directly.


0 comments on commit 4c5a910

Please sign in to comment.