Opened 18 years ago

Closed 18 years ago

#95 closed defect (fixed)

adding two clipped data sets fails

Reported by: sexton Owned by: ole
Priority: normal Milestone:
Component: Appearance and visualisation Version: 1.0
Severity: normal Keywords:
Cc:

Description

New functionality to clip a data set on an arbitrary polygon (either keep data in the polygon or outside of it). Get an error message when attempt to add two clipped data sets together (see no_test_clip1_inside_outside in test_geospatial_data.py)


Traceback (most recent call last):

File "test_geospatial_data.py", line 496, in test_clip1_inside_outside

assert allclose((G1+G2).get_data_points(),points)

File "T:\sandpits\jsexton\ANUGA\anuga_core\source\anuga\geospatial_data\geospa

tial_data.py", line 408, in add

for x in self.attributes.keys():

AttributeError?: 'NoneType?' object has no attribute 'keys'


Change History (2)

comment:1 Changed 18 years ago by ole

  • Owner changed from nick to ole

Fixed in changeset:3723

comment:2 Changed 18 years ago by ole

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.