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

Method __init__

python/IECore/SequenceRmOp.py:39–63  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

37class SequenceRmOp( IECore.Op ) :
38
39 def __init__( self ) :
40
41 IECore.Op.__init__( self, "Removes file sequences.",
42 IECore.FileSequenceParameter(
43 name = "result",
44 description = "The removed file sequence.",
45 defaultValue = "",
46 check = IECore.FileSequenceParameter.CheckType.DontCare,
47 allowEmptyString = True,
48 minSequenceSize = 1,
49 )
50 )
51
52 self.parameters().addParameters(
53 [
54 IECore.FileSequenceParameter(
55 name = "seq",
56 description = "The file sequence to remove.",
57 defaultValue = "",
58 check = IECore.FileSequenceParameter.CheckType.MustExist,
59 allowEmptyString = False,
60 minSequenceSize = 1,
61 )
62 ]
63 )
64
65 def doOperation( self, operands ) :
66

Callers

nothing calls this directly

Calls 3

FileSequenceParameterMethod · 0.80
addParametersMethod · 0.80
parametersMethod · 0.45

Tested by

no test coverage detected