From d189b84ba187d0ff970e130f3f2e95493e6195f0 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Thu, 13 May 2021 16:22:42 -0400 Subject: [PATCH] Removed `protocol` as an option in the study_info script --- crc/scripts/study_info.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crc/scripts/study_info.py b/crc/scripts/study_info.py index a372c604..b5e49e84 100644 --- a/crc/scripts/study_info.py +++ b/crc/scripts/study_info.py @@ -18,7 +18,7 @@ class StudyInfo(Script): """Please see the detailed description that is provided below. """ pb = ProtocolBuilderService() - type_options = ['info', 'investigators', 'roles', 'details', 'documents', 'protocol', 'sponsors'] + type_options = ['info', 'investigators', 'roles', 'details', 'documents', 'sponsors'] # This is used for test/workflow validation, as well as documentation. example_data = { @@ -110,9 +110,6 @@ class StudyInfo(Script): }, "details": {}, - 'protocol': { - id: 0, - } } } @@ -392,8 +389,6 @@ Returns information specific to the protocol. retval = self.pb.get_sponsors(study_id) if cmd == 'documents': retval = StudyService().get_documents_status(study_id) - if cmd == 'protocol': - retval = StudyService().get_protocol(study_id) return self.box_it(retval, prefix)