#NEWLINE# def translateVistrail( _vistrail ) : #NEWLINE# #INDENT# def update_workflow( old_obj , translate_dict ) : #NEWLINE# #INDENT# return DBWorkflow . update_version ( old_obj . db_workflow , translate_dict ) #NEWLINE# #UNINDENT# translate_dict = { #NEWLINE# #INDENT# 'DBGroup' : { #NEWLINE# #INDENT# 'workflow' : update_workflow , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# vistrail = DBVistrail . update_version ( _vistrail , _vistrail ) #NEWLINE# vistrail . db_version = '1.0.1' #NEWLINE# return vistrail