Hi Elizabeth,<br><br>You can also just do:<br>function='True'<br>Just make sure to put it in quotes like that.<br>Britton<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 11:34 AM, Stephen Skory <span dir="ltr"><<a href="mailto:s@skory.us" target="_blank">s@skory.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Elizabeth,<br>
<div class="im"><br>
> Is there an easy switch for that? It's actually not a check I need for my data.<br>
<br>
</div>I have done something like this in the past:<br>
<br>
fname = 'len([1])'<br>
master_clump = amods.level_sets.Clump(sp, None, field, function=fname)<br>
<br>
fname just needs to be something that evaluates to 1 or True. There<br>
are probably more elegant functions, but this is short and sweet. Let<br>
me know if that doesn't make sense.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Stephen Skory<br>
<a href="mailto:s@skory.us">s@skory.us</a><br>
<a href="http://stephenskory.com/" target="_blank">http://stephenskory.com/</a><br>
<a href="tel:510.621.3687" value="+15106213687">510.621.3687</a> (google voice)<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>
</div></div></blockquote></div><br>