( self )
| 37 | class 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 |
nothing calls this directly
no test coverage detected