Skip to content

Commit

Permalink
bug fix and moved classpath
Browse files Browse the repository at this point in the history
Signed-off-by: Richard West <[email protected]>
  • Loading branch information
Amrit Jalan authored and rwest committed Jun 24, 2009
1 parent 31dbaa8 commit 9a3712f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solvation_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import re

# you may need to change this to point to where your Abraham.class file is (which may be in an RMG.jar)
RMG_classpath = '$RMG/software/RMG'
RMG_classpath = '%rmg%/classes'


# read in adjacency list data for all solutes
Expand All @@ -47,7 +47,7 @@
solventReader = csv.DictReader(open('Solvent Database.csv'), dialect='excel') # assumes first line contains field names
solventDict = dict()
for solvent in solventReader:
asert solvent.haskey('a'), "Solvent Database should have 'a' column"
assert solvent.has_key('a'), "Solvent Database should have 'a' column"
solventName = solvent['Solvents']
solventDict[solventName] = solvent
# should now have object like: solventDict['water']['a']
Expand Down

0 comments on commit 9a3712f

Please sign in to comment.