project#

Classes:

GenerateIntermediateResultsSettings

Settings for generating intermediate results for different job types in a project.

Project

Representation of a CryoSPARC Project, a container of data-processing results.

ProjectLastAccessed

Record for when a user last accessed a project.

ProjectStats

Statistics about the contents of a project.

ProjectWorkflowInfo

Information about workflows used in a project.

class GenerateIntermediateResultsSettings#

Settings for generating intermediate results for different job types in a project.

Attributes:

class_2D_new: bool#
class_3D: bool#
var_3D_disp: bool#
class Project#

Representation of a CryoSPARC Project, a container of data-processing results.

Attributes:

archived

archiving

autodump_errors

List of error messages from the last automatic disk dump operation.

autodump_failed

Whether the last automatic disk dump operation failed.

created_at

When this object was first created.

created_at_version

deleted

Not used, but kept for backwards compatibility with app.

description

User-specified detailed project description.

detached

detaching

dumped_at

When the model was last dumped to disk

generate_intermediate_results_settings

id

import_failed_job_count

import_status

imported_at

is_cleanup_in_progress

last_accessed

last_archived_version

last_detached_version

last_dumped_version

The version of CryoSPARC last dumped at

last_exp_group_id_used

Last exposure group ID used in the project.

moving

owner_user_id

User ID of the project owner.

project_dir

Absolute path to the project directory on disk.

project_params_pdef

Default job parameter definitions to be used within the project.

project_stats

queue_paused

Currently unused :meta private:

schema_version

Version of the project and associated entity schema stored on disk.

size

Size of the project on disk, in bytes.

size_last_updated

starred_by

List of user IDs who have starred the project.

tags

title

User-specified project title.

uid

Unique identifier for the project, e.g. "P1".

uid_num

Numeric part of the project UID.

updated_at

When this object was last modified.

users_with_access

List of user IDs with access to the project, including the owner.

workflows

archived: bool#
archiving: bool#
autodump_errors: List[str]#

List of error messages from the last automatic disk dump operation.

autodump_failed: bool#

Whether the last automatic disk dump operation failed.

created_at: datetime#

When this object was first created. Imported objects such as projects and jobs will retain the created time from their original CryoSPARC instance.

created_at_version: str#
deleted: bool#

Not used, but kept for backwards compatibility with app. Deleted projects are removed from the database :meta private:

description: str#

User-specified detailed project description.

detached: bool#
detaching: bool#
dumped_at: datetime | None#

When the model was last dumped to disk

generate_intermediate_results_settings: GenerateIntermediateResultsSettings#
id: str#
import_failed_job_count: int#
import_status: Literal['importing', 'complete', 'failed', 'accepted', None]#
imported_at: datetime | None#
is_cleanup_in_progress: bool#
last_accessed: ProjectLastAccessed | None#
last_archived_version: str | None#
last_detached_version: str | None#
last_dumped_version: str | None#

The version of CryoSPARC last dumped at

last_exp_group_id_used: int | None#

Last exposure group ID used in the project.

moving: bool#
owner_user_id: str#

User ID of the project owner.

project_dir: str#

Absolute path to the project directory on disk.

project_params_pdef: Dict[str, Any]#

Default job parameter definitions to be used within the project. For example {'output_f16': True} to enable half-precision output for all motion correction jobs.

project_stats: ProjectStats#
queue_paused: bool#

Currently unused :meta private:

schema_version: int#

Version of the project and associated entity schema stored on disk. If this value is not equal to the current schema version, project is dumped to disk before detaching to maximize compatibility with future versions of CryoSPARC.

size: int#

Size of the project on disk, in bytes.

size_last_updated: datetime#
starred_by: List[str]#

List of user IDs who have starred the project.

tags: List[str]#
title: str#

User-specified project title.

uid: str#

Unique identifier for the project, e.g. “P1”.

uid_num: int#

Numeric part of the project UID.

updated_at: datetime#

When this object was last modified.

users_with_access: List[str]#

List of user IDs with access to the project, including the owner.

workflows: ProjectWorkflowInfo | None#
class ProjectLastAccessed#

Record for when a user last accessed a project.

Attributes:

accessed_at

Timestamp of the last access.

name

Username that last accessed the project.

accessed_at: datetime#

Timestamp of the last access.

name: str#

Username that last accessed the project.

class ProjectStats#

Statistics about the contents of a project.

Attributes:

job_count

job_sections

Number of jobs per section.

job_status

Number of jobs per status.

job_types

Number of jobs per type.

session_count

updated_at

workspace_count

job_count: int#
job_sections: Dict[str, int]#

Number of jobs per section.

job_status: Dict[str, int]#

Number of jobs per status.

job_types: Dict[str, int]#

Number of jobs per type.

session_count: int#
updated_at: datetime | None#
workspace_count: int#
class ProjectWorkflowInfo#

Information about workflows used in a project.

Attributes:

runs

Map from workflow ID to the number of runs of that workflow.

runs: Dict[str, int]#

Map from workflow ID to the number of runs of that workflow.