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