<div dir="ltr">thank you Elaine, that worked beautifully.<div style>-denny-</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Mon, May 12, 2014 at 9:49 AM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu" target="_blank">meng@cgl.ucsf.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Dennis,<br>
You can (carefully) text-edit your preferences file to remove the file browser history. You may want to save a copy first, because it's easy to mess up. The file browser history is in the 'miller browser' section.  You could remove the whole section, but the least ablative approach would be to try just removing the offending directory.  Of course, if you don't know where your preferences file is, that would be a problem (normally you can start Chimera and look in the Preferences category of the Preferences to see where it is).  Here is some information about the default location:<br>


<<a href="http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/preferences.html#preffile" target="_blank">http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/preferences.html#preffile</a>><br>
<br>
Alternatively you could also specify a different (or nonexistent, in which case you will get factory defaults) preferences file upon startup with the command-line "--preferences" option.  See the link above for more information.  I tried "chimera --preferences nonexistentfile" and that started Chimera with factory defaults.<br>


<br>
In my preferences file, the whole section is<br>
<br>
'miller browser': {'dirHistory': [u'/Users/meng/Desktop/chidata',<br>
                                   u'/Users/meng/Desktop',<br>
                                   '/Users/meng'],<br>
                    'fileHistory': {'': [u'/Users/meng/Desktop/tnnt2_human.py',<br>
                                         u'/Users/meng/Desktop/stuff.py'],<br>
                                    'MAV file save': [u'/Users/meng/Desktop/troponinT.afa'],<br>
                                    'MAV phylogeny': [u'/Users/meng/Desktop/chidata/PF04055.nhx'],<br>
                                    'PDB traj multi-model': [u'/Users/meng/Desktop/pathway.pdb'],<br>
                                    'SaveImage': [u'/Users/meng/Desktop/viewdock.png',<br>
                                                  u'/Users/meng/Desktop/viewdock-white2-amended.png',<br>
                                                  u'/Users/meng/Desktop/target-coulombic.png',<br>
                                                  u'/Users/meng/Desktop/template-coulombic.png',<br>
                                                  u'/Users/meng/Desktop/chidata/viewdock.png',<br>
                                                  u'/Users/meng/Desktop/viper-2g33-ribbons.png',<br>
                                                  u'/Users/meng/Desktop/viper-2g33-surf.png',<br>
                                                  u'/Users/meng/Desktop/viper-2g33-rib.png',<br>
                                                  u'/Users/meng/Desktop/book3-coulombic-kiss90pct.png',<br>
                                                  u'/Users/meng/Desktop/book3-coulombic-kiss.png'],<br>
                                    'SimpleSession': [u'/Users/meng/Desktop/viewdock-amended.py',<br>
                                                      u'/Users/meng/Desktop/viewdock-white2-amended.py',<br>
                                                      u'/Users/meng/Desktop/vdtest.py',<br>
                                                      u'/Users/meng/Desktop/posy-objects.py',<br>
                                                      u'/Users/meng/Desktop/testcand1.py',<br>
                                                      u'/Users/meng/Desktop/testcand5.py',<br>
                                                      u'/Users/meng/Desktop/testdaily5.py',<br>
                                                      u'/Users/meng/Desktop/testdaily1.py',<br>
                                                      u'/Users/meng/Desktop/testdaily.py',<br>
                                                      u'/Users/meng/Desktop/mca-model-coulombic.py'],<br>
                                    'ViewDock': [u'/Users/meng/Desktop/chidata/ras.mol2'],<br>
                                    'main chimera import dialog': [u'/Users/meng/Desktop/chidata/1plx.pdb',<br>
                                                                   u'/Users/meng/Desktop/chidata/XYZ-axes.bild',<br>
                                                                   u'/Users/meng/Desktop/4bqy_Phd3_edit.pdb',<br>
                                                                   u'/Users/meng/Desktop/4BQY.pdb',<br>
                                                                   u'/Users/meng/Desktop/4bqy_Phd1_edits_mar21.pdb']},<br>
<br>
If th offending directory was chidata, for example, I would try removing just that one, from:<br>
<br>
'miller browser': {'dirHistory': [u'/Users/meng/Desktop/chidata',<br>
                                   u'/Users/meng/Desktop',<br>
to:<br>
<br>
'miller browser': {'dirHistory': [u'/Users/meng/Desktop',<br>
<br>
If the preferences file gets messed up so that it is unusable, Chimera may just ignore it, which would also have the beneficial effect of forgetting your directory, but at the cost of forgetting your other preferences and history items.  I hope this helps,<br>


Elaine<br>
----------<br>
Elaine C. Meng, Ph.D.<br>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<div class="im HOEnZb"><br>
On May 12, 2014, at 9:02 AM, Dennis N Bromley <<a href="mailto:dbromley@uw.edu">dbromley@uw.edu</a>> wrote:<br>
<br>
</div><div class="HOEnZb"><div class="h5">> Hi all,<br>
><br>
> Whenever I try and load a file into chimera, it tries to open the windows file load dialog in the last directory I loaded a file from (I guess that is what is happening, at any rate).  But that directory now has around 10K pdb files in it and chimera hangs trying to enumerate them all (maybe due to windows/samba/etc).  As a result, I can no longer even use chimera because it hangs every time I try and load a file.<br>


><br>
> Is there a way to clear this so that I can load files again?<br>
><br>
> thanks!<br>
> -denny-<br>
<br>
</div></div></blockquote></div><br></div>