cr-connect-workflow/crc/scripts/study_data_get.py

19 lines
678 B
Python
Raw Normal View History

2021-06-02 14:00:55 +00:00
from crc.services.data_store_service import DataStoreBase
from crc.scripts.script import Script
class StudyDataGet(Script,DataStoreBase):
def get_description(self):
return """Gets study data from the data store."""
def do_task_validate_only(self, task, study_id, workflow_id, *args, **kwargs):
self.do_task(task, study_id, workflow_id, *args, **kwargs)
def do_task(self, task, study_id, workflow_id, *args, **kwargs):
2020-11-10 16:32:59 +00:00
return self.get_data_common(study_id,
None,
'study_data_get',
None,
2020-11-10 16:32:59 +00:00
*args)