<div class="gmail_quote">Hello,<br><br>I got this error when I was trying to minimize a structure. please tell me what went wrong.<br><br><br>Executing testchim.py...Opening test1_chimera.mol2...1 model opened<br><br>Traceback (most recent call last):<br>
File "/data/pgm/chimera/chimera_1.2422/share/__main__.py", line 59, in ?<br> value = chimeraInit.init(sys.argv)<br> File "CHIMERA/share/chimeraInit.py", line 298, in init<br> chimera.openModels.open(a, prefixableType=1)<br>
File "CHIMERA/share/chimera/__init__.py", line 1253, in open<br> File "CHIMERA/share/chimera/__init__.py", line 746, in _openPython<br> File "testchim.py", line 10, in ?<br> rc("minimize nsteps 70000 stepsize 0.001 interval 100 freeze none nogui true")<br>
File "CHIMERA/share/chimera/__init__.py", line 1912, in runCommand<br> File "CHIMERA/share/Midas/midas_text.py", line 60, in makeCommand<br> File "CHIMERA/share/MMMD/ChimeraExtension.py", line 29, in cmdMMMD<br>
File "CHIMERA/share/Midas/midas_text.py", line 281, in doExtensionFunc<br> File "CHIMERA/share/Midas/midas_text.py", line 1885, in _getRealKw<br>MidasError: Keyword 'nsteps' doesn't match any known keywords<br>
Error while processing testchim.py:<br>MidasError: Keyword 'nsteps' doesn't match any known keywords<br>(see reply log for Python traceback info)<br><br><br><br><br>This is my program. I tried to execute it from command line using<br>
chimera --nogui testchim.py<br><br>import os<br>import chimera<br><br>from chimera import runCommand as rc<br>from chimera import replyobj<br><br>os.chdir("/data2/di/database_build/outputs/outputs_mol2_sdf")<br>
fn = "test1_chimera.mol2"<br>rc("open " + fn)<br>rc("minimize nsteps 70000 stepsize 0.001 interval 100 freeze none nogui true")<br>rc("write format mol2 0 min/" + fn)<br>rc("close all")<br>
rc("stop now")<br><br><br>
</div><br>