Bases: openalea.core.manager.GenericManager
Create new project and return it.
Use: | >>> project1 = project_manager.create('project1')
>>> project2 = project_manager.create('project2', '/path/to/project')
|
---|---|
Parameters: |
|
Returns: | Project |
Discover projects from your disk and put them in self.projects.
Projects are not loaded, only metadata are.
Use: | >>> project_manager.discover()
>>> list_of_projects = project_manager.projects
|
---|
To discover new projects, you can add path into self.repositories
project_manager.repositories.append('path/to/search/projects')
project_manager.discover()
Load existing project
Use: | >>> project1 = project_manager.load('project1')
>>> project2 = project_manager.load('project2', '/path/to/project')
|
---|---|
Parameters: |
|
Returns: | Project |