[Rivet] YODA Attribute error

Holger Schulz hschulz at physik.hu-berlin.de
Fri Jun 27 11:52:45 BST 2014


On 27/06/14 07:09, David Grellscheid wrote:
> Hi Holger,
>
> I get this too. There's no coords variable defined in the pyx files, but it's used there as if it was.
>
>    David

Thanks, I think I fixed it for the moment. Not sure about the .coords 
property,
this seems to be a more general approach for all kinds of objects but 
still in
development. I made it such that the .x and .y properties are used instead.
I tested it and it works for me.

Holger

>
> On 27 June 2014 01:35:24 BST, Holger Schulz<iamholger at googlemail.com>  wrote:
>> Hi,
>>
>> after upgrading from YODA 1.0.6 to trunk my python
>> scripts using yoda to make tables do not work anymore.
>>
>> The histograms are created by calling
>>
>>     yoda.readAIDA(fname)
>>
>> Whenever I try to touch the .points, I get the following error,
>> which leaves me clueless.
>>
>>    AttributeError: 'yoda.core.Point2D' object has no attribute 'coords'
>>
>> Could someone please try to reproduce this error?
>>
>> Challenge him you must,
>> Holger
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> https://www.hepforge.org/lists/listinfo/rivet
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> https://www.hepforge.org/lists/listinfo/rivet



More information about the Rivet mailing list