check_experiment_id: Creates a new experiment ID if one not specified, and checks...

Description Usage Arguments Value

Description

Creates a new experiment ID if one not specified, and checks ID is in database with no parameter sets if one is specified

Usage

1
2
check_experiment_id(dblink, experiment_id, experiment_type,
  experiment_date, experiment_description)

Arguments

dblink

A link to the database in which this table is being created

experiment_id

Experiment ID for parameter set being generated. May be NULL to create one, or specified

experiment_type

Type of spartan sample being generated

experiment_date

Date experiment created.

experiment_description

A description of this experiment, if a new experiment is being created

Value

Either a new experiment ID, the specified experiment ID if no error, or -1 if error encountered


kalden/spartanDB documentation built on May 15, 2019, 12:02 p.m.