[yt-users] clump finder crash

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Thu Jun 14 01:11:49 PDT 2012


Hi,

Still hitting some problems with clump find.

The clump object doesn't accept field parameters:

In [14]: cloudcores[0].set_field_parameter("thiscore_omega", core_omega[c1])
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/home/tasker/yt/src/yt-hg/scripts/iyt in <module>()
----> 1 cloudcores[0].set_field_parameter("thiscore_omega", core_omega[c1])

AttributeError: 'Clump' object has no attribute 'set_field_parameter'


Can the clump find wrapper be adjusted to fix this? The individual
connected sets definitely can accept field parameters.

Elizabeth



On 14 June 2012 16:06, Elizabeth Tasker <tasker at astro1.sci.hokudai.ac.jp> wrote:
> That fixed my problem -- thank you!
>
> Elizabeth
>
>
> On Jun 14, 2012, at 12:36 AM, Stephen Skory wrote:
>
>>> You can also just do:
>>> function='True'
>>> Just make sure to put it in quotes like that.
>>
>> Even shorter and sweeter!
>>
>> --
>> Stephen Skory
>> s at skory.us
>> http://stephenskory.com/
>> 510.621.3687 (google voice)
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list