MCPcopy Create free account
hub / github.com/ImageEngine/cortex / valueValid

Method valueValid

test/IECore/Op.py:121–130  ·  view source on GitHub ↗
( self, value )

Source from the content-addressed store, hash-verified

119 ]
120 )
121 def valueValid( self, value ) :
122
123 res = IECore.CompoundParameter.valueValid( self, value )
124 if not res[0]:
125 return res
126
127 if value['first'] > value['second']:
128 return ( True, "" )
129
130 return ( False, "First parameter is not greater then the second!" )
131
132 def __init__( self ) :
133 IECore.Op.__init__( self, "opDescription", GreaterThenOp.MyCompound(), IECore.StringParameter( "result", "", "" ) )

Callers 3

testMethod · 0.45
testMethod · 0.45
testMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected