Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

Scipion commands

Jose Miguel de la Rosa Trevin edited this page Dec 11, 2015 · 8 revisions
Scipion Logo

Configuration commands

Cleaning projects

In scipion and scipion web, many projects can be created. Each project has a life time, and therefore after that lifetime the project is suitable for deletion.

List outdated projects

To get the list of outdated projects you can run:

scipion python scripts/clean_projects.py [USER DATA FOLDER]

[USER DATA FOLDER] : by default will be 'os.environ['SCIPION_USER_DATA']' otherwise must be a folder with some user data.

This will only the projects that are out of date

Delete outdated projects

To delete outdated projects you can run:

scipion python scripts/clean_projects.py [USER DATA FOLDER] --delete

All outdated projects will be deleted.

Note
Deleting a project is basically deleting a project folder.

Dealing with projects settings

You can list some project attributes with:

scipion --config [SCIPION CONFIG FILE] python scripts/config_project.py [PROJECT NAME]

Setting lifeTime

You can also make a project eternal:

scipion --config [SCIPION CONFIG FILE] python scripts/config_project.py [PROJECT NAME] lifeTime=None

Setting readOnly

You can also make a project readonly:

scipion --config [SCIPION CONFIG FILE] python scripts/config_project.py [PROJECT NAME] readOnly=False
Clone this wiki locally