Skip to content
Browse files

Fixed molecule_draw import statements

  • Loading branch information...
1 parent 4d638dd commit d6b1b2ba4c44412827486159a21f6874ff645e68 @stroiano stroiano committed Jul 26, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 rmgpy/measure/network.py
  2. +2 −2 rmgpy/rmg/output.py
View
6 rmgpy/measure/network.py
@@ -1234,7 +1234,7 @@ def __drawText(self, text, ext, padding=0):
surface is dictated by the `ext` parameter.
"""
- from rmgpy.molecule_draw import createNewSurface, fontSizeNormal
+ from rmgpy.molecule.molecule_draw import createNewSurface, fontSizeNormal
import cairo
surface0 = createNewSurface(type=ext[1:])
@@ -1261,7 +1261,7 @@ def __drawLabel(self, speciesList, ext, useLabels=False):
will be used.
"""
- from rmgpy.molecule_draw import createNewSurface, drawMolecule
+ from rmgpy.molecule.molecule_draw import createNewSurface, drawMolecule
import cairo
# Determine whether or not to use the molecular structures in the
@@ -1310,4 +1310,4 @@ def __drawLabel(self, speciesList, ext, useLabels=False):
top += boundingRects[i][3]
return surfaces, width, height, boundingRects
-
+
View
4 rmgpy/rmg/output.py
@@ -324,7 +324,7 @@ def saveDiffHTML(path, commonSpeciesList, speciesList1, speciesList2, commonReac
from model import PDepReaction
from rmgpy.kinetics import Arrhenius, MultiKinetics
- from rmgpy.molecule_draw import drawMolecule
+ from rmgpy.molecule.molecule_draw import drawMolecule
try:
import jinja2
except ImportError:
@@ -841,4 +841,4 @@ def csssafe(input):
""")
f = open(path, 'w')
f.write(template.render(title=title, commonSpecies=commonSpeciesList, speciesList1=speciesList1, speciesList2 = speciesList2, commonReactions=commonReactions, uniqueReactions1=uniqueReactions1, uniqueReactions2=uniqueReactions2, families1=families1, families2=families2, familyCount1=familyCount1,familyCount2=familyCount2, speciesList=speciesList))
- f.close()
+ f.close()

0 comments on commit d6b1b2b

Please sign in to comment.
Something went wrong with that request. Please try again.