parameters: (self, input_list)
return_statement: return workspaces
docstring: returns names of the grouped workspaces
docstring_summary: returns names of the grouped workspaces
docstring_tokens: returns names of the grouped workspaces
function: def _expand_groups(self, input_list):
          """
              returns names of the grouped workspaces
          """
          workspaces = []
          for wsname in input_list:
              wks = api.AnalysisDataService.retrieve(wsname)
              if isinstance(wks, WorkspaceGroup):
                  workspaces.extend(wks.getNames())
              else:
                  workspaces.append(wsname)
          self.log().notice("Workspaces: " + str(workspaces))
          return workspaces
function_tokens: def _expand_groups ( self , input_list ) : workspaces = [ ] for wsname in input_list : wks = api . AnalysisDataService . retrieve ( wsname ) if isinstance ( wks , WorkspaceGroup ) : workspaces . extend ( wks . getNames ( ) ) else : workspaces . append ( wsname ) self . log ( ) . notice ( "Workspaces: " + str ( workspaces ) ) return workspaces