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

Method __init__

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

Source from the content-addressed store, hash-verified

37class SequenceMvOp( IECore.Op ) :
38
39 def __init__( self ) :
40
41 IECore.Op.__init__( self, "Moves 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 minSequenceSize = 1,
49 )
50 )
51
52 self.parameters().addParameters(
53 [
54 IECore.FileSequenceParameter(
55 name = "src",
56 description = "The source file sequence.",
57 defaultValue = "",
58 check = IECore.FileSequenceParameter.CheckType.MustExist,
59 allowEmptyString = False,
60 minSequenceSize = 1,
61 ),
62 IECore.FileSequenceParameter(
63 name = "dst",
64 description = "The destination file sequence.",
65 defaultValue = "",
66 check = IECore.FileSequenceParameter.CheckType.MustNotExist,
67 allowEmptyString = False,
68 minSequenceSize = 1,
69 )
70 ]
71 )
72
73 def doOperation( self, operands ) :
74

Callers

nothing calls this directly

Calls 3

FileSequenceParameterMethod · 0.80
addParametersMethod · 0.80
parametersMethod · 0.45

Tested by

no test coverage detected