#NEWLINE# @ staticmethod #NEWLINE# def convert( _group ) : #NEWLINE# #INDENT# if ( _group . __class__ == Group ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# _group . __class__ = Group #NEWLINE# if _group . db_location : #NEWLINE# #INDENT# Location . convert ( _group . db_location ) #NEWLINE# #UNINDENT# if _group . db_workflow : #NEWLINE# #INDENT# from vistrails.core.vistrail.pipeline import Pipeline #NEWLINE# Pipeline . convert ( _group . db_workflow ) #NEWLINE# #UNINDENT# for _function in _group . db_functions : #NEWLINE# #INDENT# ModuleFunction . convert ( _function ) #NEWLINE# #UNINDENT# for _annotation in _group . db_get_annotations ( ) : #NEWLINE# #INDENT# Annotation . convert ( _annotation ) #NEWLINE# #UNINDENT# for _control_parameter in _group . db_get_controlParameters ( ) : #NEWLINE# #INDENT# ModuleControlParam . convert ( _control_parameter ) #NEWLINE# #UNINDENT# _group . set_defaults ( )