Opened 10 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: | |
---|---|---|---|
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)
Change History (4)
by , 10 years ago
Attachment: | garray.patch added |
---|
comment:1 by , 9 years ago
Milestone: | → 6.4.6 |
---|
comment:2 by , 9 years ago
Milestone: | 6.4.6 → 7.0.2 |
---|
Change milestone to 7.0.2 because it's about temporal framework.
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
proposed patch