Example #1
0
def _confirm_all_workspaces_loaded(workspaces_to_confirm):
    current_workspaces = ADS.getObjectNames()
    for ws in workspaces_to_confirm:
        if ws not in current_workspaces:
            logger.warning("Project Loader was unable to load back all of project workspaces")
            return False
    return True
Example #2
0
def _confirm_all_workspaces_loaded(workspaces_to_confirm):
    current_workspaces = ADS.getObjectNames()
    for ws in workspaces_to_confirm:
        if ws not in current_workspaces:
            logger.warning(
                "Project Loader was unable to load back all of project workspaces"
            )
            return False
    return True
 def __init__(self, parent_presenter=None):
     self._parent_presenter = parent_presenter
     self._view = None
     self.current_directory = ConfigService['defaultsave.directory']
     self.filename = ''
     self.workspace_list = AnalysisDataService.getObjectNames()
 def __init__(self, parent_presenter=None):
     self._parent_presenter = parent_presenter
     self._view = None
     self.current_directory = ConfigService['defaultsave.directory']
     self.filename = ''
     self.workspace_list = AnalysisDataService.getObjectNames()