-
Notifications
You must be signed in to change notification settings - Fork 5
/
IsoNoise.pyt
32 lines (24 loc) · 855 Bytes
/
IsoNoise.pyt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
__author__ = "Michał Kowalczuk"
__copyright__ = "Copyright 2013, Michał Kowalczuk"
import arcpy
import os
import sys
srcDir = os.path.join(os.path.dirname(__file__), "src")
sys.path.append(srcDir)
from tools import CreateProjectTool, ImportDataTool, RunProjectTool
class Toolbox(object):
def __init__(self):
"""Define the toolbox (the name of the toolbox is the name of the
.pyt file)."""
self.label = "IsoNoise"
self.alias = ""
# List of tool classes associated with this toolbox
self.tools = [CreateProjectTool, ImportDataTool, RunProjectTool]
# DEBUGGING --------------------------------------------------------------------
# def main():
# tbx = Toolbox()
# tool = RunProjectTool()
# tool.execute(tool.getParameterInfo(), None)
#
# if __name__ == "__main__":
# main()