Skip to content

Instantly share code, notes, and snippets.

@0ut0fcontrol
Last active November 9, 2019 03:21
Show Gist options
  • Save 0ut0fcontrol/526d6cbdbccc0af94952cac280f1b4ce to your computer and use it in GitHub Desktop.
Save 0ut0fcontrol/526d6cbdbccc0af94952cac280f1b4ce to your computer and use it in GitHub Desktop.
NMR prediction glitch found and fixed
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