Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arohan Ajit authored and Arohan Ajit committed Jan 10, 2025
1 parent 6e3a9a1 commit 39cc59a
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions gui/wxpython/iclass/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,28 @@
"""

import os
from ctypes import *
import sys
from ctypes import c_int, c_char_p, c_float, byref

import grass.script as gs

try:
from grass.lib.imagery import *
except ImportError as e:
from grass.lib.imagery import (
I_iclass_statistics_get_cat,
I_iclass_statistics_get_name,
I_iclass_statistics_get_color,
I_iclass_statistics_get_nbands,
I_iclass_statistics_get_ncells,
I_iclass_statistics_get_nstd,
I_iclass_statistics_get_min,
I_iclass_statistics_get_max,
I_iclass_statistics_get_range_min,
I_iclass_statistics_get_range_max,
I_iclass_statistics_get_mean,
I_iclass_statistics_get_stddev,
I_iclass_statistics_get_histo,
)
except ImportError:
sys.stderr.write(_("Loading imagery lib failed"))

from grass.pydispatch.signal import Signal
Expand Down

0 comments on commit 39cc59a

Please sign in to comment.