<div dir="ltr">only tangentially related to this, the ack command (<a href="http://beyondgrep.com/">http://beyondgrep.com/</a>) is a great way to search through code for variables, routines, etc.  ack knows about source code and is recursive by default, so <div><br></div><div>ack CICDeposit_3</div><div><br></div><div>in the main yt/ directory shows CICDeposit.pyx having the function definition.  </div><div><br></div><div>Full disclosure, I think I learned about ack on this list a long time ago, but it's so useful, it's worth repeating.</div><div><br></div><div>Mike</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 9:42 AM, Elizabeth Tasker <span dir="ltr"><<a href="mailto:tasker@astro1.sci.hokudai.ac.jp" target="_blank">tasker@astro1.sci.hokudai.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi John,</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Thanks for looking into this!</div><div><blockquote type="cite" style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span><div style="word-wrap:break-word"><div><div><div><br>CICDeposit and CICSample are actually the opposite of each other—the first deposits particle quantities onto the mesh, the second interpolates mesh quantities onto the particles. I’m not sure why CICDeposit_3 wasn’t in your repo—I can import it over here. </div></div></div></div></span></blockquote></div><p><br></p><p>Ah! This was my mistake: I was searching for it in a python routine, but it lives in particle_deposit.c. </p><p><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Updating again has worked! I am now back on yt-3:</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">tasker@schiehallion:~/yt-3/bin$ yt update</p><p style="margin:0px;font-size:11px;font-family:Menlo">yt : [INFO     ] 2014-10-14 22:24:20,504 Loading plugins from /home/tasker/.yt/my_plugins.py</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">yt module located at:</p><p style="margin:0px;font-size:11px;font-family:Menlo">    /home/tasker/yt-new/src/yt-hg</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">The current version and changeset for the code is:</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">---</p><p style="margin:0px;font-size:11px;font-family:Menlo">Version = 3.0.2</p><p style="margin:0px;font-size:11px;font-family:Menlo">Changeset = a119d0a54bfe (stable) tip</p><p style="margin:0px;font-size:11px;font-family:Menlo">---</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">












</p><p style="margin:0px;font-size:11px;font-family:Menlo">This installation CAN be automatically updated.</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">So the only error is the is the "KeyError: ('io', 'particle_position_x’)” .</p><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Thanks!</p><span class="HOEnZb"><font color="#888888"><p style="margin:0px;font-size:11px;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">Elizabeth</p></font></span></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div><div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div><div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>
</div>