Last active
November 9, 2019 03:21
-
-
Save 0ut0fcontrol/526d6cbdbccc0af94952cac280f1b4ce to your computer and use it in GitHub Desktop.
NMR prediction glitch found and fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from schrodinger import maestro | |
pt = maestro.project_table_get() | |
# rows may not in alphabetical order in some linux distributions. | |
# so the outputfile and nmr_outputfile will mismatch. | |
for row in pt.selected_rows: | |
outputfile = open( row['s_m_title'] + "-opt_freq-conf-" + str(conf_num) + ".com", 'w' ) | |
nmr_outputfile = open( row['s_m_title'] + "-nmr-conf-" + str(conf_num) + '.com', 'w' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment