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. """
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)