<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Hello all!</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">It is possible to open the MD Movie trajectory with a custom format and a file from a plugin?</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">I am trying to do this:</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><div class="gmail_default"><pre style="color:rgb(0,0,0);font-family:menlo"><i><span style="color:rgb(0,0,128);font-weight:bold">from </span>Movie.gui <span style="color:rgb(0,0,128);font-weight:bold">import </span>MovieDialog<br><span style="color:rgb(0,0,128);font-weight:bold">from </span>Trajectory <span style="color:rgb(0,0,128);font-weight:bold">import </span>EnsembleLoader<br>EnsembleLoader.loadEnsemble(MovieDialog, <span style="color:rgb(102,0,153)">movieFile</span>=<span style="color:rgb(0,128,0);font-weight:bold">"/Users/ME/Desktop/movie.pdb"</span>)</i></pre></div></div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><i></i>But I get this error</div><i><br></i></div><div><i><br></i></div><div><div><i>ValueError: Unknown trajectory format: 'MODEL 0'</i></div><div><i><br></i></div><div><i> File "/Applications/Chimera.app/Contents/Resources/share/Trajectory/EnsembleLoader.py", line 131, in loadEnsemble</i></div><div><i> raise ValueError("Unknown trajectory format: '%s'" % format)</i></div><div><i><br></i></div><div><i>See reply log for Python traceback.</i></div></div><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">I think it is because I need to set the format (self.curFormat in the EnsembleLoader class) but it is not possible. How can I solve this?</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:rgb(68,68,68)">Thank you so much</div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p></p>
<p><font size="1" face="tahoma, sans-serif" color="#38761d"><b><u>Pablo Solar Rodríguez</u></b></font></p><font size="1" face="tahoma, sans-serif" color="#0b5394"><b><div><a href="mailto:pablosolar.r@gmail.com" style="font-weight:normal" target="_blank"><b>pablosolar.r@gmail.com</b></a><br></div></b></font><div><div>
<p><br></p></div></div></div></div></div></div>
</div>