Skip to content

Nodes

Project

Object representing a logical grouping of Material, File, and Collection objects.

Collection

Object representing a logical grouping of Experiment and Inventory objects.

Experiment

Object representing an experiment.

Inventory

Object representing a logical grouping of Material objects.

__getitem__(obj)

obj can be an index or slice of self.materials or a unique identifier of a material

Data

Object representing a set of File objects and related meta-data.

File

Object representing a single raw data file.

download_file(path=None, api=None)

Download a file from the defined storage provider.

Parameters:

Name Type Description Default
path str

Path where the file should go.

None

Process

Object representing a process of creating or transforming a Material object.

ComputationalProcess

Object representing a simulation that processes or changes a virtual Material.

Computation

Object representing the transformation of data or the creation of a computational data set

Material

Object representing a material, mixture or compound.

Reference

Object representing a bibliographic resource.

save(get_level=1, update_existing=False)

Create or update a node in the database.

Parameters:

Name Type Description Default
node

The node to be saved.

required
get_level int

Level to recursively get nested nodes.

1
update_existing bool

Indicates whether to update an existing node with the same unique fields.

False

Software

Object representing a computation tool, code, programing language, or software package.

User

Object representing a CRIPT user.

Note: A user cannot be created or modified using the SDK. This object is for read-only purposes only.

Group

Object representing a CRIPT group.