2020-11-18 20:34:50 +00:00
|
|
|
from crc.scripts.data_store_base import DataStoreBase
|
|
|
|
from crc.scripts.script import Script
|
2020-11-10 13:21:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
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',
|
2021-04-26 13:55:28 +00:00
|
|
|
None,
|
2020-11-10 16:32:59 +00:00
|
|
|
*args)
|
2020-11-10 13:21:46 +00:00
|
|
|
|