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

Function __formatFileSequenceParameter

python/IECore/FormattedParameterHelp.py:113–129  ·  view source on GitHub ↗
( parm, formatter )

Source from the content-addressed store, hash-verified

111 formatter.unindent()
112
113def __formatFileSequenceParameter( parm, formatter ) :
114
115 __formatParameter( parm, formatter )
116 formatter.indent()
117
118 if parm.mustExist :
119 formatter.paragraph( "Sequence must exist" )
120
121 if parm.mustNotExist :
122 formatter.paragraph( "Sequence must not exist" )
123
124 if not parm.allowEmptyString :
125 formatter.paragraph( "Sequence must be specified" )
126
127 formatter.paragraph( "Values must be of the form \"something.###.ext\"" )
128
129 formatter.unindent()
130
131def __formatCompoundParameter( parm, formatter ) :
132

Callers

nothing calls this directly

Calls 4

__formatParameterFunction · 0.85
indentMethod · 0.45
paragraphMethod · 0.45
unindentMethod · 0.45

Tested by

no test coverage detected