Opened 5 years ago

Closed 5 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


In, 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 5 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by lrntct

Attachment: garray.patch added

proposed patch

comment:1 Changed 5 years ago by martinl

Milestone: 6.4.6

comment:2 Changed 5 years ago by lrntct


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

comment:3 Changed 5 years ago by lrntct

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.