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

Method __init__

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

Source from the content-addressed store, hash-verified

37class SequenceCpOp( IECore.Op ) :
38
39 def __init__( self ) :
40
41 IECore.Op.__init__( self, "Copies file sequences.",
42 IECore.FileSequenceParameter(
43 name = "result",
44 description = "The new file sequence.",
45 defaultValue = "",
46 check = IECore.FileSequenceParameter.CheckType.DontCare,
47 allowEmptyString = True,
48 )
49 )
50
51 self.parameters().addParameters(
52 [
53 IECore.FileSequenceParameter(
54 name = "src",
55 description = "The source file sequence.",
56 defaultValue = "",
57 check = IECore.FileSequenceParameter.CheckType.MustExist,
58 allowEmptyString = False,
59 minSequenceSize = 1,
60 ),
61 IECore.FileSequenceParameter(
62 name = "dst",
63 description = "The destination file sequence.",
64 defaultValue = "",
65 check = IECore.FileSequenceParameter.CheckType.MustNotExist,
66 allowEmptyString = False,
67 minSequenceSize = 1,
68 )
69 ]
70 )
71
72 def doOperation( self, operands ) :
73

Callers

nothing calls this directly

Calls 3

FileSequenceParameterMethod · 0.80
addParametersMethod · 0.80
parametersMethod · 0.45

Tested by

no test coverage detected