Removed `protocol` as an option in the study_info script

This commit is contained in:
mike cullerton 2021-05-13 16:22:42 -04:00
parent 620b9a5188
commit d189b84ba1
1 changed files with 1 additions and 6 deletions

View File

@ -18,7 +18,7 @@ class StudyInfo(Script):
"""Please see the detailed description that is provided below. """ """Please see the detailed description that is provided below. """
pb = ProtocolBuilderService() 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. # This is used for test/workflow validation, as well as documentation.
example_data = { example_data = {
@ -110,9 +110,6 @@ class StudyInfo(Script):
}, },
"details": "details":
{}, {},
'protocol': {
id: 0,
}
} }
} }
@ -392,8 +389,6 @@ Returns information specific to the protocol.
retval = self.pb.get_sponsors(study_id) retval = self.pb.get_sponsors(study_id)
if cmd == 'documents': if cmd == 'documents':
retval = StudyService().get_documents_status(study_id) retval = StudyService().get_documents_status(study_id)
if cmd == 'protocol':
retval = StudyService().get_protocol(study_id)
return self.box_it(retval, prefix) return self.box_it(retval, prefix)