MCPcopy Create free account
hub / github.com/Image-Py/imagepy / load

Method load

imagepy/menus/Image/duplicate_plg.py:19–24  ·  view source on GitHub ↗
(self, ips)

Source from the content-addressed store, hash-verified

17 para = {'name':'Undefined','stack':True}
18
19 def load(self, ips):
20 self.para['name'] = ips.title+'-copy'
21 self.view = [(str, 'name', 'Name', '')]
22 if ips.get_nslices()>1:
23 self.view.append((bool, 'stack', 'duplicate stack'))
24 return True
25 #process
26 def run(self, ips, imgs, para = None):
27 name = para['name']

Callers

nothing calls this directly

Calls 2

get_nslicesMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected