Adds another example workflow

This commit is contained in:
Aaron Louie 2019-12-19 11:59:36 -05:00
parent bc9bfb658e
commit c31b1e5031
1 changed files with 20 additions and 7 deletions

View File

@ -5,13 +5,26 @@ from crc.models import StudyModel, WorkflowSpecModel
class ExampleDataLoader:
studies = [StudyModel(id=1,
title='The impact of fried pickles on beer consumption in bipedal software developers.',
last_updated=datetime.datetime.now(),
protocol_builder_status='in_process',
primary_investigator_id='dhf8r',
sponsor='Sartography Pharmaceuticals',
ind_number='1234')]
studies = [
StudyModel(
id=1,
title='The impact of fried pickles on beer consumption in bipedal software developers.',
last_updated=datetime.datetime.now(),
protocol_builder_status='in_process',
primary_investigator_id='dhf8r',
sponsor='Sartography Pharmaceuticals',
ind_number='1234'
),
StudyModel(
id=2,
title='Requirement of hippocampal neurogenesis for the behavioral effects of soft pretzels',
last_updated=datetime.datetime.now(),
protocol_builder_status='in_process',
primary_investigator_id='dhf8r',
sponsor='Makerspace & Co.',
ind_number='5678'
),
]
workflow_specs = [WorkflowSpecModel(
id="random_fact",