Hi Elizabeth,
You can also just do:
function='True'
Just make sure to put it in quotes like that.
Britton
On Wed, Jun 13, 2012 at 11:34 AM, Stephen Skory wrote:
Hi Elizabeth,
Is there an easy switch for that? It's actually not a check I need for my data.
I have done something like this in the past:
fname = 'len([1])' master_clump = amods.level_sets.Clump(sp, None, field, function=fname)
fname just needs to be something that evaluates to 1 or True. There are probably more elegant functions, but this is short and sweet. Let me know if that doesn't make sense.
-- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org