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

Method doOperation

python/IECore/SequenceCpOp.py:72–82  ·  view source on GitHub ↗
( self, operands )

Source from the content-addressed store, hash-verified

70 )
71
72 def doOperation( self, operands ) :
73
74 src = self.parameters()["src"].getFileSequenceValue()
75 dst = self.parameters()["dst"].getFileSequenceValue()
76 # if no frame list is specified on the dst parameter, then we use the same as src parameter.
77 if isinstance( dst.frameList, IECore.EmptyFrameList ):
78 dst.frameList = src.frameList
79
80 IECore.cp( src, dst )
81
82 return IECore.StringData( str(dst) )
83
84IECore.registerRunTimeTyped( SequenceCpOp )

Callers

nothing calls this directly

Calls 3

getFileSequenceValueMethod · 0.80
strFunction · 0.50
parametersMethod · 0.45

Tested by

no test coverage detected