MCPcopy Create free account
hub / github.com/kiibohd/controller / pfunc_lookup

Method pfunc_lookup

Scan/TestIn/host.py:291–301  ·  view source on GitHub ↗

Do lookup on pfunc (Pixel Function) @returns: String name of pfunc index

(self)

Source from the content-addressed store, hash-verified

289 return lookup[self.ffunc]
290
291 def pfunc_lookup(self):
292 '''
293 Do lookup on pfunc (Pixel Function)
294
295 @returns: String name of pfunc index
296 '''
297 lookup = {
298 0: 'off',
299 1: 'interp',
300 }
301 return lookup[self.pfunc]
302
303 def __repr__(self):
304 val = "(trigger={}, index={}, pos={}, subpos={}, loops={}, framedelay={}, frameoption={}, ffunc={}, pfunc={})".format(

Callers 2

__repr__Method · 0.95
verifyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected