<s> import IECore <EOL> import Gaffer <EOL> import GafferUI <EOL> import GafferRenderMan <EOL> def __qualitySummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> ps = plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) <EOL> info . append ( "<STR_LIT>" % ( ps [ <NUM_LIT:0> ] , ps [ <NUM_LIT:1> ] ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __hiderSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) . capitalize ( ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) . capitalize ( ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __statisticsSummary ( plug ) : <EOL> info = [ ] <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" % plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" ) <EOL> if plug [ "<STR_LIT>" ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( "<STR_LIT>" + ( "<STR_LIT>" if plug [ "<STR_LIT>" ] [ "<STR_LIT:value>" ] . getValue ( ) else "<STR_LIT>" ) ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> def __searchPathsSummary ( plug ) : <EOL> info = [ ] <EOL> for childName , label in ( <EOL> ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ( "<STR_LIT>" , "<STR_LIT>" ) , <EOL> ) : <EOL> if plug [ childName ] [ "<STR_LIT>" ] . getValue ( ) : <EOL> info . append ( label ) <EOL> return "<STR_LIT:U+002CU+0020>" . join ( info ) <EOL> Gaffer . Metadata . registerNode ( <EOL> GafferRenderMan . RenderManOptions , <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> plugs = { <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , __qualitySummary , <EOL> "<STR_LIT>" , __hiderSummary , <EOL> "<STR_LIT>" , __statisticsSummary , <EOL> "<STR_LIT>" , __searchPathsSummary , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , <NUM_LIT:0> , <EOL> "<STR_LIT>" , <NUM_LIT:1> , <EOL> "<STR_LIT>" , <NUM_LIT:2> , <EOL> "<STR_LIT>" , <NUM_LIT:3> , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , True , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , IECore . StringVectorData ( [ "<STR_LIT>" , "<STR_LIT:html>" , "<STR_LIT>" , "<STR_LIT>" ] ) , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> "<STR_LIT>" : [ <EOL> "<STR_LIT:description>" , <EOL> """<STR_LIT>""" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT:label>" , "<STR_LIT>" , <EOL> ] , <EOL> } <EOL> ) </s>
