Opened 9 years ago

Closed 9 years ago

#2688 closed defect (fixed)

get_np_array() calls grass.script.array without importing the module

Reported by: lrntct Owned by: grass-dev@…
Priority: normal Milestone: 7.0.2
Component: Temporal Version: svn-trunk
Keywords: numpy Cc:
CPU: x86-64 Platform: Linux

Description

In space_time_datasets.py, the methods get_np_array() makes calls to garray, but the corresponding module is not imported, resulting in an error: "NameError: global name 'garray' is not defined"

Attachments (1)

garray.patch (465 bytes ) - added by lrntct 9 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

by lrntct, 9 years ago

Attachment: garray.patch added

proposed patch

comment:1 by martinl, 9 years ago

Milestone: 6.4.6

comment:2 by lrntct, 9 years ago

Milestone: 6.4.67.0.2

Change milestone to 7.0.2 because it's about temporal framework.

comment:3 by lrntct, 9 years ago

Resolution: fixed
Status: newclosed

Fixed by mlennert in trunk(r66267) and releasebranch70 (r66268)

Note: See TracTickets for help on using tickets.