repository_name stringlengths 5 67 | func_path_in_repository stringlengths 4 234 | func_name stringlengths 0 314 | whole_func_string stringlengths 52 3.87M | language stringclasses 6
values | func_code_string stringlengths 52 3.87M | func_documentation_string stringlengths 1 47.2k | func_code_url stringlengths 85 339 |
|---|---|---|---|---|---|---|---|
dnanexus/dx-toolkit | src/python/dxpy/api.py | project_new | def project_new(input_params={}, always_retry=False, **kwargs):
"""
Invokes the /project/new API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject%2Fnew
"""
return DXHTTPRequest('/project/new', input_params, always_retry=always_retry, *... | python | def project_new(input_params={}, always_retry=False, **kwargs):
"""
Invokes the /project/new API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject%2Fnew
"""
return DXHTTPRequest('/project/new', input_params, always_retry=always_retry, *... | Invokes the /project/new API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Projects#API-method%3A-%2Fproject%2Fnew | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1076-L1082 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_add_tags | def record_add_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
"""
return DXHTTPRequest('/%s/addTags' % object_id, input_... | python | def record_add_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
"""
return DXHTTPRequest('/%s/addTags' % object_id, input_... | Invokes the /record-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1084-L1090 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_add_types | def record_add_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
"""
return DXHTTPRequest('/%s/addTypes' % object_id, i... | python | def record_add_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
"""
return DXHTTPRequest('/%s/addTypes' % object_id, i... | Invokes the /record-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1092-L1098 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_close | def record_close(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose
"""
return DXHTTPRequest('/%s/close' % object_id... | python | def record_close(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose
"""
return DXHTTPRequest('/%s/close' % object_id... | Invokes the /record-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1100-L1106 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_describe | def record_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/describe' % object_id,... | python | def record_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/describe' % object_id,... | Invokes the /record-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Records#API-method%3A-%2Frecord-xxxx%2Fdescribe | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1108-L1114 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_get_details | def record_get_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
"""
return DXHTTPRequest('/%s/getDet... | python | def record_get_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
"""
return DXHTTPRequest('/%s/getDet... | Invokes the /record-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1116-L1122 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_list_projects | def record_list_projects(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
"""
return DXHTTPRequest('/%s/listProjec... | python | def record_list_projects(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
"""
return DXHTTPRequest('/%s/listProjec... | Invokes the /record-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1124-L1130 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_remove_tags | def record_remove_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
"""
return DXHTTPRequest('/%s/removeTags' % objec... | python | def record_remove_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
"""
return DXHTTPRequest('/%s/removeTags' % objec... | Invokes the /record-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1132-L1138 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_remove_types | def record_remove_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
"""
return DXHTTPRequest('/%s/removeTypes' % ... | python | def record_remove_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
"""
return DXHTTPRequest('/%s/removeTypes' % ... | Invokes the /record-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1140-L1146 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_rename | def record_rename(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
"""
return DXHTTPRequest('/%s/rename' % object_id, input_param... | python | def record_rename(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
"""
return DXHTTPRequest('/%s/rename' % object_id, input_param... | Invokes the /record-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1148-L1154 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_set_details | def record_set_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
"""
return DXHTTPRequest('/%s/setDet... | python | def record_set_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
"""
return DXHTTPRequest('/%s/setDet... | Invokes the /record-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1156-L1162 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_set_properties | def record_set_properties(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
"""
return DXHTTPRequest('/%s/setP... | python | def record_set_properties(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
"""
return DXHTTPRequest('/%s/setP... | Invokes the /record-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1164-L1170 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | record_set_visibility | def record_set_visibility(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
"""
return DXHTTPRequest('/%s/setV... | python | def record_set_visibility(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /record-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
"""
return DXHTTPRequest('/%s/setV... | Invokes the /record-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1172-L1178 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_describe_data_objects | def system_describe_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects
"""
return DXHTTPRequest('/system/des... | python | def system_describe_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects
"""
return DXHTTPRequest('/system/des... | Invokes the /system/describeDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeDataObjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1189-L1195 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_describe_executions | def system_describe_executions(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions
"""
return DXHTTPRequest('/system/describ... | python | def system_describe_executions(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions
"""
return DXHTTPRequest('/system/describ... | Invokes the /system/describeExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeExecutions | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1197-L1203 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_describe_projects | def system_describe_projects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects
"""
return DXHTTPRequest('/system/describeProje... | python | def system_describe_projects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/describeProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects
"""
return DXHTTPRequest('/system/describeProje... | Invokes the /system/describeProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/describeProjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1205-L1211 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_affiliates | def system_find_affiliates(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findAffiliates API method.
"""
return DXHTTPRequest('/system/findAffiliates', input_params, always_retry=always_retry, **kwargs) | python | def system_find_affiliates(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findAffiliates API method.
"""
return DXHTTPRequest('/system/findAffiliates', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/findAffiliates API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1213-L1217 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_apps | def system_find_apps(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findApps API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps
"""
return DXHTTPRequest('/system/findApps', input_params, always_retry=a... | python | def system_find_apps(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findApps API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps
"""
return DXHTTPRequest('/system/findApps', input_params, always_retry=a... | Invokes the /system/findApps API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindApps | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1219-L1225 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_data_objects | def system_find_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects
"""
return DXHTTPRequest('/system/findDataObjects',... | python | def system_find_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects
"""
return DXHTTPRequest('/system/findDataObjects',... | Invokes the /system/findDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDataObjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1227-L1233 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_global_workflows | def system_find_global_workflows(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findGlobalWorkflows API method.
"""
return DXHTTPRequest('/system/findGlobalWorkflows', input_params, always_retry=always_retry, **kwargs) | python | def system_find_global_workflows(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findGlobalWorkflows API method.
"""
return DXHTTPRequest('/system/findGlobalWorkflows', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/findGlobalWorkflows API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1235-L1239 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_resolve_data_objects | def system_resolve_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/resolveDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects
"""
return DXHTTPRequest('/system/resolv... | python | def system_resolve_data_objects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/resolveDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects
"""
return DXHTTPRequest('/system/resolv... | Invokes the /system/resolveDataObjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/System-Methods#API-method:-/system/resolveDataObjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1241-L1247 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_executions | def system_find_executions(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions
"""
return DXHTTPRequest('/system/findExecutions', inpu... | python | def system_find_executions(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions
"""
return DXHTTPRequest('/system/findExecutions', inpu... | Invokes the /system/findExecutions API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindExecutions | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1249-L1255 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_analyses | def system_find_analyses(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findAnalyses API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses
"""
return DXHTTPRequest('/system/findAnalyses', input_params... | python | def system_find_analyses(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findAnalyses API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses
"""
return DXHTTPRequest('/system/findAnalyses', input_params... | Invokes the /system/findAnalyses API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindAnalyses | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1257-L1263 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_databases | def system_find_databases(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findDatabases API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases
"""
return DXHTTPRequest('/system/findDatabases', input_pa... | python | def system_find_databases(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findDatabases API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases
"""
return DXHTTPRequest('/system/findDatabases', input_pa... | Invokes the /system/findDatabases API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindDatabases | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1265-L1271 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_jobs | def system_find_jobs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findJobs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs
"""
return DXHTTPRequest('/system/findJobs', input_params, always_retry=a... | python | def system_find_jobs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findJobs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs
"""
return DXHTTPRequest('/system/findJobs', input_params, always_retry=a... | Invokes the /system/findJobs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindJobs | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1273-L1279 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_projects | def system_find_projects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects
"""
return DXHTTPRequest('/system/findProjects', input_params... | python | def system_find_projects(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects
"""
return DXHTTPRequest('/system/findProjects', input_params... | Invokes the /system/findProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindProjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1281-L1287 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_users | def system_find_users(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findUsers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers
"""
return DXHTTPRequest('/system/findUsers', input_params, always_ret... | python | def system_find_users(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findUsers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers
"""
return DXHTTPRequest('/system/findUsers', input_params, always_ret... | Invokes the /system/findUsers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method%3A-%2Fsystem%2FfindUsers | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1289-L1295 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_project_members | def system_find_project_members(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findProjectMembers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers
"""
return DXHTTPRequest('/system/findProjectMem... | python | def system_find_project_members(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findProjectMembers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers
"""
return DXHTTPRequest('/system/findProjectMem... | Invokes the /system/findProjectMembers API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findProjectMembers | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1297-L1303 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_find_orgs | def system_find_orgs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findOrgs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs
"""
return DXHTTPRequest('/system/findOrgs', input_params, always_retry=always_... | python | def system_find_orgs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/findOrgs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs
"""
return DXHTTPRequest('/system/findOrgs', input_params, always_retry=always_... | Invokes the /system/findOrgs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/findOrgs | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1305-L1311 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_generate_batch_inputs | def system_generate_batch_inputs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/generateBatchInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs
"""
return DXHTTPRequest('/system/generateBat... | python | def system_generate_batch_inputs(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/generateBatchInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs
"""
return DXHTTPRequest('/system/generateBat... | Invokes the /system/generateBatchInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/generateBatchInputs | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1313-L1319 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_global_search | def system_global_search(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/globalSearch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch
"""
return DXHTTPRequest('/system/globalSearch', input_params, alwa... | python | def system_global_search(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/globalSearch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch
"""
return DXHTTPRequest('/system/globalSearch', input_params, alwa... | Invokes the /system/globalSearch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Search#API-method:-/system/globalSearch | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1321-L1327 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_greet | def system_greet(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/greet API method.
"""
return DXHTTPRequest('/system/greet', input_params, always_retry=always_retry, **kwargs) | python | def system_greet(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/greet API method.
"""
return DXHTTPRequest('/system/greet', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/greet API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1329-L1333 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_headers | def system_headers(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/headers API method.
"""
return DXHTTPRequest('/system/headers', input_params, always_retry=always_retry, **kwargs) | python | def system_headers(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/headers API method.
"""
return DXHTTPRequest('/system/headers', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/headers API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1335-L1339 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_shorten_url | def system_shorten_url(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/shortenURL API method.
"""
return DXHTTPRequest('/system/shortenURL', input_params, always_retry=always_retry, **kwargs) | python | def system_shorten_url(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/shortenURL API method.
"""
return DXHTTPRequest('/system/shortenURL', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/shortenURL API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1341-L1345 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | system_whoami | def system_whoami(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/whoami API method.
"""
return DXHTTPRequest('/system/whoami', input_params, always_retry=always_retry, **kwargs) | python | def system_whoami(input_params={}, always_retry=True, **kwargs):
"""
Invokes the /system/whoami API method.
"""
return DXHTTPRequest('/system/whoami', input_params, always_retry=always_retry, **kwargs) | Invokes the /system/whoami API method. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1347-L1351 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | user_describe | def user_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /user-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/describe' % object_id, input_p... | python | def user_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /user-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/describe' % object_id, input_p... | Invokes the /user-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fdescribe | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1353-L1359 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | user_update | def user_update(object_id, input_params={}, always_retry=False, **kwargs):
"""
Invokes the /user-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate
"""
return DXHTTPRequest('/%s/update' % object_id, input_params, ... | python | def user_update(object_id, input_params={}, always_retry=False, **kwargs):
"""
Invokes the /user-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate
"""
return DXHTTPRequest('/%s/update' % object_id, input_params, ... | Invokes the /user-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Users#API-method%3A-%2Fuser-xxxx%2Fupdate | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1361-L1367 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_add_stage | def workflow_add_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage
"""
return DXHTTPRequest('/%s/... | python | def workflow_add_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage
"""
return DXHTTPRequest('/%s/... | Invokes the /workflow-xxxx/addStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FaddStage | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1369-L1375 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_add_tags | def workflow_add_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
"""
return DXHTTPRequest('/%s/addTags' % object_id, in... | python | def workflow_add_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags
"""
return DXHTTPRequest('/%s/addTags' % object_id, in... | Invokes the /workflow-xxxx/addTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FaddTags | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1377-L1383 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_add_types | def workflow_add_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
"""
return DXHTTPRequest('/%s/addTypes' % object_i... | python | def workflow_add_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes
"""
return DXHTTPRequest('/%s/addTypes' % object_i... | Invokes the /workflow-xxxx/addTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FaddTypes | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1385-L1391 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_close | def workflow_close(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose
"""
return DXHTTPRequest('/%s/close' % objec... | python | def workflow_close(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose
"""
return DXHTTPRequest('/%s/close' % objec... | Invokes the /workflow-xxxx/close API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Data-Object-Lifecycle#API-method%3A-%2Fclass-xxxx%2Fclose | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1393-L1399 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_describe | def workflow_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/d... | python | def workflow_describe(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe
"""
return DXHTTPRequest('/%s/d... | Invokes the /workflow-xxxx/describe API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fdescribe | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1401-L1407 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_dry_run | def workflow_dry_run(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/dryRun API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun
"""
return DXHTTPRequest('/%s/dryRun... | python | def workflow_dry_run(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/dryRun API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun
"""
return DXHTTPRequest('/%s/dryRun... | Invokes the /workflow-xxxx/dryRun API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FdryRun | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1409-L1415 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_get_details | def workflow_get_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
"""
return DXHTTPRequest('/%s/ge... | python | def workflow_get_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails
"""
return DXHTTPRequest('/%s/ge... | Invokes the /workflow-xxxx/getDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FgetDetails | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1417-L1423 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_is_stage_compatible | def workflow_is_stage_compatible(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/isStageCompatible API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible
"""
... | python | def workflow_is_stage_compatible(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/isStageCompatible API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible
"""
... | Invokes the /workflow-xxxx/isStageCompatible API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FisStageCompatible | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1425-L1431 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_list_projects | def workflow_list_projects(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
"""
return DXHTTPRequest('/%s/listPr... | python | def workflow_list_projects(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects
"""
return DXHTTPRequest('/%s/listPr... | Invokes the /workflow-xxxx/listProjects API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Cloning#API-method%3A-%2Fclass-xxxx%2FlistProjects | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1433-L1439 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_move_stage | def workflow_move_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/moveStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage
"""
return DXHTTPRequest('/... | python | def workflow_move_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/moveStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage
"""
return DXHTTPRequest('/... | Invokes the /workflow-xxxx/moveStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FmoveStage | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1441-L1447 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_overwrite | def workflow_overwrite(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/overwrite API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite
"""
return DXHTTPRequest('/%... | python | def workflow_overwrite(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/overwrite API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite
"""
return DXHTTPRequest('/%... | Invokes the /workflow-xxxx/overwrite API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Foverwrite | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1449-L1455 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_remove_stage | def workflow_remove_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage
"""
return DXHTTPRequ... | python | def workflow_remove_stage(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage
"""
return DXHTTPRequ... | Invokes the /workflow-xxxx/removeStage API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FremoveStage | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1457-L1463 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_remove_tags | def workflow_remove_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
"""
return DXHTTPRequest('/%s/removeTags' % o... | python | def workflow_remove_tags(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags
"""
return DXHTTPRequest('/%s/removeTags' % o... | Invokes the /workflow-xxxx/removeTags API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Tags#API-method%3A-%2Fclass-xxxx%2FremoveTags | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1465-L1471 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_remove_types | def workflow_remove_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
"""
return DXHTTPRequest('/%s/removeTypes... | python | def workflow_remove_types(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes
"""
return DXHTTPRequest('/%s/removeTypes... | Invokes the /workflow-xxxx/removeTypes API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Types#API-method%3A-%2Fclass-xxxx%2FremoveTypes | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1473-L1479 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_rename | def workflow_rename(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
"""
return DXHTTPRequest('/%s/rename' % object_id, input_p... | python | def workflow_rename(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename
"""
return DXHTTPRequest('/%s/rename' % object_id, input_p... | Invokes the /workflow-xxxx/rename API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Name#API-method%3A-%2Fclass-xxxx%2Frename | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1481-L1487 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_validate_batch | def workflow_validate_batch(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/validateBatch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch
"""
return DXHT... | python | def workflow_validate_batch(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/validateBatch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch
"""
return DXHT... | Invokes the /workflow-xxxx/validateBatch API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FvalidateBatch | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1498-L1504 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_set_details | def workflow_set_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
"""
return DXHTTPRequest('/%s/se... | python | def workflow_set_details(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails
"""
return DXHTTPRequest('/%s/se... | Invokes the /workflow-xxxx/setDetails API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Details-and-Links#API-method%3A-%2Fclass-xxxx%2FsetDetails | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1506-L1512 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_set_properties | def workflow_set_properties(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
"""
return DXHTTPRequest('/%s/... | python | def workflow_set_properties(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties
"""
return DXHTTPRequest('/%s/... | Invokes the /workflow-xxxx/setProperties API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Properties#API-method%3A-%2Fclass-xxxx%2FsetProperties | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1514-L1520 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_set_stage_inputs | def workflow_set_stage_inputs(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setStageInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs
"""
return ... | python | def workflow_set_stage_inputs(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setStageInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs
"""
return ... | Invokes the /workflow-xxxx/setStageInputs API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FsetStageInputs | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1522-L1528 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_set_visibility | def workflow_set_visibility(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
"""
return DXHTTPRequest('/%s/... | python | def workflow_set_visibility(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility
"""
return DXHTTPRequest('/%s/... | Invokes the /workflow-xxxx/setVisibility API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Visibility#API-method%3A-%2Fclass-xxxx%2FsetVisibility | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1530-L1536 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_update | def workflow_update(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate
"""
return DXHTTPRequest('/%s/update'... | python | def workflow_update(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate
"""
return DXHTTPRequest('/%s/update'... | Invokes the /workflow-xxxx/update API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2Fupdate | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1538-L1544 |
dnanexus/dx-toolkit | src/python/dxpy/api.py | workflow_update_stage_executable | def workflow_update_stage_executable(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/updateStageExecutable API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutabl... | python | def workflow_update_stage_executable(object_id, input_params={}, always_retry=True, **kwargs):
"""
Invokes the /workflow-xxxx/updateStageExecutable API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutabl... | Invokes the /workflow-xxxx/updateStageExecutable API method.
For more info, see: https://wiki.dnanexus.com/API-Specification-v1.0.0/Workflows-and-Analyses#API-method%3A-%2Fworkflow-xxxx%2FupdateStageExecutable | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/api.py#L1546-L1552 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _image_to_data | def _image_to_data(img):
"""
Does the work of encoding an image into Base64
"""
# If the image is already encoded in Base64, we have nothing to do here
if "src" not in img.attrs or img["src"].startswith("data:"):
return
elif re.match("https?://", img["src"]):
img_data = _load_url... | python | def _image_to_data(img):
"""
Does the work of encoding an image into Base64
"""
# If the image is already encoded in Base64, we have nothing to do here
if "src" not in img.attrs or img["src"].startswith("data:"):
return
elif re.match("https?://", img["src"]):
img_data = _load_url... | Does the work of encoding an image into Base64 | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L45-L61 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _bake_css | def _bake_css(link):
"""
Takes a link element and turns it into an inline style link if applicable
"""
if "href" in link.attrs and (re.search("\.css$", link["href"])) or ("rel" in link.attrs and link["rel"] is "stylesheet") or ("type" in link.attrs and link["type"] is "text/css"):
if re.match("h... | python | def _bake_css(link):
"""
Takes a link element and turns it into an inline style link if applicable
"""
if "href" in link.attrs and (re.search("\.css$", link["href"])) or ("rel" in link.attrs and link["rel"] is "stylesheet") or ("type" in link.attrs and link["type"] is "text/css"):
if re.match("h... | Takes a link element and turns it into an inline style link if applicable | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L64-L80 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _bake_script | def _bake_script(script):
"""
Takes a script element and bakes it in only if it contains a remote resource
"""
if "src" in script.attrs:
if re.match("https?://", script["src"]):
script_data = _load_url(script["src"]).read()
else:
script_data = _load_file(script["s... | python | def _bake_script(script):
"""
Takes a script element and bakes it in only if it contains a remote resource
"""
if "src" in script.attrs:
if re.match("https?://", script["src"]):
script_data = _load_url(script["src"]).read()
else:
script_data = _load_file(script["s... | Takes a script element and bakes it in only if it contains a remote resource | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L83-L98 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _load_file | def _load_file(path):
"""
Loads a file from the local filesystem
"""
if not os.path.exists(path):
parser.error("{} was not found!".format(path))
if USING_PYTHON2:
mode = "r"
else:
mode = "rb"
try:
f = open(path, mode)
return f
except IOError as ex:... | python | def _load_file(path):
"""
Loads a file from the local filesystem
"""
if not os.path.exists(path):
parser.error("{} was not found!".format(path))
if USING_PYTHON2:
mode = "r"
else:
mode = "rb"
try:
f = open(path, mode)
return f
except IOError as ex:... | Loads a file from the local filesystem | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L109-L123 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _load_url | def _load_url(url):
"""
Loads a URL resource from a remote server
"""
try:
response = requests.get(url)
return BytesIO(response.content)
except IOError as ex:
parser.error("{url} could not be loaded remotely! ({ex})".format(url=url, ex=ex)) | python | def _load_url(url):
"""
Loads a URL resource from a remote server
"""
try:
response = requests.get(url)
return BytesIO(response.content)
except IOError as ex:
parser.error("{url} could not be loaded remotely! ({ex})".format(url=url, ex=ex)) | Loads a URL resource from a remote server | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L126-L134 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | _get_bs4_string | def _get_bs4_string(soup):
"""
Outputs a BeautifulSoup object as a string that should hopefully be minimally modified
"""
if len(soup.find_all("script")) == 0:
soup_str = soup.prettify(formatter=None).strip()
else:
soup_str = str(soup.html)
soup_str = re.sub("&", "&", sou... | python | def _get_bs4_string(soup):
"""
Outputs a BeautifulSoup object as a string that should hopefully be minimally modified
"""
if len(soup.find_all("script")) == 0:
soup_str = soup.prettify(formatter=None).strip()
else:
soup_str = str(soup.html)
soup_str = re.sub("&", "&", sou... | Outputs a BeautifulSoup object as a string that should hopefully be minimally modified | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L138-L149 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | bake | def bake(src):
"""
Runs the encoder on the given source file
"""
src = os.path.realpath(src)
path = os.path.dirname(src)
filename = os.path.basename(src)
html = _load_file(src).read()
if imghdr.what("", html):
html = "<html><body><img src='{}'/></body></html>".format(cgi.escape(f... | python | def bake(src):
"""
Runs the encoder on the given source file
"""
src = os.path.realpath(src)
path = os.path.dirname(src)
filename = os.path.basename(src)
html = _load_file(src).read()
if imghdr.what("", html):
html = "<html><body><img src='{}'/></body></html>".format(cgi.escape(f... | Runs the encoder on the given source file | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L152-L175 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | upload_html | def upload_html(destination, html, name=None):
"""
Uploads the HTML to a file on the server
"""
[project, path, n] = parse_destination(destination)
try:
dxfile = dxpy.upload_string(html, media_type="text/html", project=project, folder=path, hidden=True, name=name or None)
return dxfi... | python | def upload_html(destination, html, name=None):
"""
Uploads the HTML to a file on the server
"""
[project, path, n] = parse_destination(destination)
try:
dxfile = dxpy.upload_string(html, media_type="text/html", project=project, folder=path, hidden=True, name=name or None)
return dxfi... | Uploads the HTML to a file on the server | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L178-L187 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | create_record | def create_record(destination, file_ids, width=None, height=None):
"""
Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports
are required to be records rather than files and we can link more than one HTML file to a report
"""
[project, path, name] = p... | python | def create_record(destination, file_ids, width=None, height=None):
"""
Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports
are required to be records rather than files and we can link more than one HTML file to a report
"""
[project, path, name] = p... | Creates a master record for the HTML report; this doesn't contain contain the actual HTML, but reports
are required to be records rather than files and we can link more than one HTML file to a report | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L190-L207 |
dnanexus/dx-toolkit | src/python/dxpy/scripts/dx_build_report_html.py | save | def save(filename, html):
"""
Creates a baked HTML file on the local system
"""
try:
out_file = open(filename, "w")
out_file.write(html)
out_file.close()
except IOError as ex:
parser.error("Could not write baked HTML to local file {name}. ({ex})".format(name=filename,... | python | def save(filename, html):
"""
Creates a baked HTML file on the local system
"""
try:
out_file = open(filename, "w")
out_file.write(html)
out_file.close()
except IOError as ex:
parser.error("Could not write baked HTML to local file {name}. ({ex})".format(name=filename,... | Creates a baked HTML file on the local system | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/scripts/dx_build_report_html.py#L210-L219 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | get_size_str | def get_size_str(size):
"""
Formats a byte size as a string.
The returned string is no more than 9 characters long.
"""
if size == 0:
magnitude = 0
level = 0
else:
magnitude = math.floor(math.log(size, 10))
level = int(min(math.floor(magnitude // 3), 4))
retu... | python | def get_size_str(size):
"""
Formats a byte size as a string.
The returned string is no more than 9 characters long.
"""
if size == 0:
magnitude = 0
level = 0
else:
magnitude = math.floor(math.log(size, 10))
level = int(min(math.floor(magnitude // 3), 4))
retu... | Formats a byte size as a string.
The returned string is no more than 9 characters long. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L60-L72 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | is_job_ref | def is_job_ref(thing, reftype=dict):
'''
:param thing: something that might be a job-based object reference hash
:param reftype: type that a job-based object reference would be (default is dict)
'''
return isinstance(thing, reftype) and \
((len(thing) == 2 and \
isinstance(thin... | python | def is_job_ref(thing, reftype=dict):
'''
:param thing: something that might be a job-based object reference hash
:param reftype: type that a job-based object reference would be (default is dict)
'''
return isinstance(thing, reftype) and \
((len(thing) == 2 and \
isinstance(thin... | :param thing: something that might be a job-based object reference hash
:param reftype: type that a job-based object reference would be (default is dict) | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L161-L173 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | print_desc | def print_desc(desc, verbose=False):
'''
:param desc: The describe hash of a DNAnexus entity
:type desc: dict
Depending on the class of the entity, this method will print a
formatted and human-readable string containing the data in *desc*.
'''
if desc['class'] in ['project', 'workspace', 'c... | python | def print_desc(desc, verbose=False):
'''
:param desc: The describe hash of a DNAnexus entity
:type desc: dict
Depending on the class of the entity, this method will print a
formatted and human-readable string containing the data in *desc*.
'''
if desc['class'] in ['project', 'workspace', 'c... | :param desc: The describe hash of a DNAnexus entity
:type desc: dict
Depending on the class of the entity, this method will print a
formatted and human-readable string containing the data in *desc*. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L939-L960 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | get_ls_l_desc | def get_ls_l_desc(desc, include_folder=False, include_project=False):
"""
desc must have at least all the fields given by get_ls_l_desc_fields.
"""
# If you make this method consume an additional field, you must add it to
# get_ls_l_desc_fields above.
if 'state' in desc:
state_len = len(... | python | def get_ls_l_desc(desc, include_folder=False, include_project=False):
"""
desc must have at least all the fields given by get_ls_l_desc_fields.
"""
# If you make this method consume an additional field, you must add it to
# get_ls_l_desc_fields above.
if 'state' in desc:
state_len = len(... | desc must have at least all the fields given by get_ls_l_desc_fields. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L1002-L1039 |
dnanexus/dx-toolkit | src/python/dxpy/utils/describe.py | get_find_executions_string | def get_find_executions_string(desc, has_children, single_result=False, show_outputs=True,
is_cached_result=False):
'''
:param desc: hash of execution's describe output
:param has_children: whether the execution has children to be printed
:param single_result: whether the ... | python | def get_find_executions_string(desc, has_children, single_result=False, show_outputs=True,
is_cached_result=False):
'''
:param desc: hash of execution's describe output
:param has_children: whether the execution has children to be printed
:param single_result: whether the ... | :param desc: hash of execution's describe output
:param has_children: whether the execution has children to be printed
:param single_result: whether the execution is displayed as a single result or as part of an execution tree
:param is_cached_result: whether the execution should be formatted as a cached re... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/describe.py#L1046-L1110 |
dnanexus/dx-toolkit | src/python/dxpy/system_requirements.py | SystemRequirementsDict.from_instance_count | def from_instance_count(cls, instance_count_arg, entrypoint="*"):
"""
Returns a SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_count_arg should be either a:
* string or int eg. "6" or 8
* dictionary, eg... | python | def from_instance_count(cls, instance_count_arg, entrypoint="*"):
"""
Returns a SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_count_arg should be either a:
* string or int eg. "6" or 8
* dictionary, eg... | Returns a SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_count_arg should be either a:
* string or int eg. "6" or 8
* dictionary, eg. {"main": 4, "other_function": 2} | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L40-L57 |
dnanexus/dx-toolkit | src/python/dxpy/system_requirements.py | SystemRequirementsDict.from_instance_type | def from_instance_type(cls, instance_type_arg, entrypoint="*"):
"""
Returns SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_type_arg should be either a:
* string, eg. mem1_ssd1_x2
* dictionary, eg. {"mai... | python | def from_instance_type(cls, instance_type_arg, entrypoint="*"):
"""
Returns SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_type_arg should be either a:
* string, eg. mem1_ssd1_x2
* dictionary, eg. {"mai... | Returns SystemRequirementsDict that can be passed as a
"systemRequirements" input to job/new or run/ API calls.
The instance_type_arg should be either a:
* string, eg. mem1_ssd1_x2
* dictionary, eg. {"main": "mem2_hdd2_x2", "other_function": "mem2_hdd2_x1"} | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L60-L76 |
dnanexus/dx-toolkit | src/python/dxpy/system_requirements.py | SystemRequirementsDict.from_sys_requirements | def from_sys_requirements(cls, system_requirements, _type='all'):
"""
Returns SystemRequirementsDict encapsulating system requirements.
It can extract only entrypoints with specific fields ('clusterSpec',
'instanceType', etc), depending on the value of _type.
"""
if _type... | python | def from_sys_requirements(cls, system_requirements, _type='all'):
"""
Returns SystemRequirementsDict encapsulating system requirements.
It can extract only entrypoints with specific fields ('clusterSpec',
'instanceType', etc), depending on the value of _type.
"""
if _type... | Returns SystemRequirementsDict encapsulating system requirements.
It can extract only entrypoints with specific fields ('clusterSpec',
'instanceType', etc), depending on the value of _type. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L79-L95 |
dnanexus/dx-toolkit | src/python/dxpy/system_requirements.py | SystemRequirementsDict.override_cluster_spec | def override_cluster_spec(self, srd):
"""
Returns SystemRequirementsDict can be passed in a "systemRequirements"
input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}}
Since full clusterSpec must be passed to the API server, we need to retriev... | python | def override_cluster_spec(self, srd):
"""
Returns SystemRequirementsDict can be passed in a "systemRequirements"
input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}}
Since full clusterSpec must be passed to the API server, we need to retriev... | Returns SystemRequirementsDict can be passed in a "systemRequirements"
input to app-xxx/run, e.g. {'fn': {'clusterSpec': {initialInstanceCount: 3, version: "2.4.0", ..}}}
Since full clusterSpec must be passed to the API server, we need to retrieve the cluster
spec defined in app doc's systemRequ... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L97-L163 |
dnanexus/dx-toolkit | src/python/dxpy/system_requirements.py | SystemRequirementsDict._add_dict_values | def _add_dict_values(self, d1, d2):
"""
Merges the values of two dictionaries, which are expected to be dictionaries, e.g
d1 = {'a': {'x': pqr}}
d2 = {'a': {'y': lmn}, 'b': {'y': rst}}
will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}.
Collisions of the keys of th... | python | def _add_dict_values(self, d1, d2):
"""
Merges the values of two dictionaries, which are expected to be dictionaries, e.g
d1 = {'a': {'x': pqr}}
d2 = {'a': {'y': lmn}, 'b': {'y': rst}}
will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}.
Collisions of the keys of th... | Merges the values of two dictionaries, which are expected to be dictionaries, e.g
d1 = {'a': {'x': pqr}}
d2 = {'a': {'y': lmn}, 'b': {'y': rst}}
will return: {'a': {'x': pqr, 'y': lmn}, 'b': {'y': rst}}.
Collisions of the keys of the sub-dictionaries are not checked. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/system_requirements.py#L165-L183 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/dxrecord.py | new_dxrecord | def new_dxrecord(details=None, **kwargs):
'''
:rtype: :class:`DXRecord`
:param details: The contents of the record to be created.
:type details: dict
Additional optional parameters not listed: all those under
:func:`dxpy.bindings.DXDataObject.new`, except `details`.
Creates a new remote r... | python | def new_dxrecord(details=None, **kwargs):
'''
:rtype: :class:`DXRecord`
:param details: The contents of the record to be created.
:type details: dict
Additional optional parameters not listed: all those under
:func:`dxpy.bindings.DXDataObject.new`, except `details`.
Creates a new remote r... | :rtype: :class:`DXRecord`
:param details: The contents of the record to be created.
:type details: dict
Additional optional parameters not listed: all those under
:func:`dxpy.bindings.DXDataObject.new`, except `details`.
Creates a new remote record object with project set to *project*
and ret... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/dxrecord.py#L32-L57 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/dxrecord.py | DXRecord._new | def _new(self, dx_hash, close=False, **kwargs):
"""
:param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes.
:type dx_hash: dict
:param init_from: Record from which to initialize the metadata
:typ... | python | def _new(self, dx_hash, close=False, **kwargs):
"""
:param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes.
:type dx_hash: dict
:param init_from: Record from which to initialize the metadata
:typ... | :param dx_hash: Standard hash populated in :func:`dxpy.bindings.DXDataObject.new()` containing attributes common to all data object classes.
:type dx_hash: dict
:param init_from: Record from which to initialize the metadata
:type init_from: :class:`DXRecord`
:param close: Whether or not ... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/dxrecord.py#L79-L105 |
dnanexus/dx-toolkit | src/python/dxpy/utils/executable_unbuilder.py | _recursive_cleanup | def _recursive_cleanup(foo):
"""
Aggressively cleans up things that look empty.
"""
if isinstance(foo, dict):
for (key, val) in list(foo.items()):
if isinstance(val, dict):
_recursive_cleanup(val)
if val == "" or val == [] or val == {}:
del... | python | def _recursive_cleanup(foo):
"""
Aggressively cleans up things that look empty.
"""
if isinstance(foo, dict):
for (key, val) in list(foo.items()):
if isinstance(val, dict):
_recursive_cleanup(val)
if val == "" or val == [] or val == {}:
del... | Aggressively cleans up things that look empty. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/executable_unbuilder.py#L41-L50 |
dnanexus/dx-toolkit | src/python/dxpy/utils/executable_unbuilder.py | dump_executable | def dump_executable(executable, destination_directory, omit_resources=False, describe_output={}):
"""
Reconstitutes an app, applet, or a workflow into a directory that would
create a functionally identical executable if "dx build" were run on it.
destination_directory will be the root source directory f... | python | def dump_executable(executable, destination_directory, omit_resources=False, describe_output={}):
"""
Reconstitutes an app, applet, or a workflow into a directory that would
create a functionally identical executable if "dx build" were run on it.
destination_directory will be the root source directory f... | Reconstitutes an app, applet, or a workflow into a directory that would
create a functionally identical executable if "dx build" were run on it.
destination_directory will be the root source directory for the
executable.
:param executable: executable, i.e. app, applet, or workflow, to be dumped
:ty... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/utils/executable_unbuilder.py#L310-L354 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | resolve_data_objects | def resolve_data_objects(objects, project=None, folder=None, batchsize=1000):
"""
:param objects: Data object specifications, each with fields "name"
(required), "folder", and "project"
:type objects: list of dictionaries
:param project: ID of project context; a data object's project... | python | def resolve_data_objects(objects, project=None, folder=None, batchsize=1000):
"""
:param objects: Data object specifications, each with fields "name"
(required), "folder", and "project"
:type objects: list of dictionaries
:param project: ID of project context; a data object's project... | :param objects: Data object specifications, each with fields "name"
(required), "folder", and "project"
:type objects: list of dictionaries
:param project: ID of project context; a data object's project defaults
to this if not specified for that object
:type project: ... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L32-L70 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | _find | def _find(api_method, query, limit, return_handler, first_page_size, **kwargs):
''' Takes an API method handler (dxpy.api.find*) and calls it with *query*,
and then wraps a generator around its output. Used by the methods below.
Note that this function may only be used for /system/find* methods.
'''
... | python | def _find(api_method, query, limit, return_handler, first_page_size, **kwargs):
''' Takes an API method handler (dxpy.api.find*) and calls it with *query*,
and then wraps a generator around its output. Used by the methods below.
Note that this function may only be used for /system/find* methods.
'''
... | Takes an API method handler (dxpy.api.find*) and calls it with *query*,
and then wraps a generator around its output. Used by the methods below.
Note that this function may only be used for /system/find* methods. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L73-L108 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_data_objects | def find_data_objects(classname=None, state=None, visibility=None,
name=None, name_mode='exact', properties=None,
typename=None, tag=None, tags=None,
link=None, project=None, folder=None, recurse=None,
modified_after=None, modified_... | python | def find_data_objects(classname=None, state=None, visibility=None,
name=None, name_mode='exact', properties=None,
typename=None, tag=None, tags=None,
link=None, project=None, folder=None, recurse=None,
modified_after=None, modified_... | :param classname:
Class with which to restrict the search, i.e. one of "record",
"file", "applet", "workflow"
:type classname: string
:param state: State of the object ("open", "closing", "closed", "any")
:type state: string
:param visibility: Visibility of the object ("hidden", "visible... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L110-L266 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_executions | def find_executions(classname=None, launched_by=None, executable=None, project=None,
state=None, origin_job=None, parent_job=None, no_parent_job=False,
parent_analysis=None, no_parent_analysis=False, root_execution=None,
created_after=None, created_before=None... | python | def find_executions(classname=None, launched_by=None, executable=None, project=None,
state=None, origin_job=None, parent_job=None, no_parent_job=False,
parent_analysis=None, no_parent_analysis=False, root_execution=None,
created_after=None, created_before=None... | :param classname:
Class with which to restrict the search, i.e. one of "job",
"analysis"
:type classname: string
:param launched_by: User ID of the user who launched the execution's origin execution
:type launched_by: string
:param executable: ID of the applet or app that spawned this ex... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L269-L418 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_projects | def find_projects(name=None, name_mode='exact', properties=None, tags=None,
level=None, describe=False, explicit_perms=None, region=None,
public=None, created_after=None, created_before=None, billed_to=None,
limit=None, return_handler=False, first_page_size=100, con... | python | def find_projects(name=None, name_mode='exact', properties=None, tags=None,
level=None, describe=False, explicit_perms=None, region=None,
public=None, created_after=None, created_before=None, billed_to=None,
limit=None, return_handler=False, first_page_size=100, con... | :param name: Name of the project (also see *name_mode*)
:type name: string
:param name_mode: Method by which to interpret the *name* field ("exact": exact match, "glob": use "*" and "?" as wildcards, "regexp": interpret as a regular expression)
:type name_mode: string
:param properties: Properties (key-... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L434-L526 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_global_executables | def find_global_executables(method, name=None, name_mode='exact', category=None,
all_versions=None, published=None,
billed_to=None, created_by=None, developer=None,
created_after=None, created_before=None,
mo... | python | def find_global_executables(method, name=None, name_mode='exact', category=None,
all_versions=None, published=None,
billed_to=None, created_by=None, developer=None,
created_after=None, created_before=None,
mo... | :param method: Name of the API method used to find the global executable (app or a global workflow).
:type name: function
:param name: Name of the app or a global workflow (also see *name_mode*)
:type name: string
:param name_mode: Method by which to interpret the *name* field ("exact": exact match, "gl... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L528-L622 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_apps | def find_apps(name=None, name_mode='exact', category=None,
all_versions=None, published=None,
billed_to=None, created_by=None, developer=None,
created_after=None, created_before=None,
modified_after=None, modified_before=None,
describe=False, limit=N... | python | def find_apps(name=None, name_mode='exact', category=None,
all_versions=None, published=None,
billed_to=None, created_by=None, developer=None,
created_after=None, created_before=None,
modified_after=None, modified_before=None,
describe=False, limit=N... | This method is identical to :meth:`find_global_executables()` with the API method
used: :meth:`system_find_apps()`. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L624-L641 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_one_data_object | def find_one_data_object(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If... | python | def find_one_data_object(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If... | :param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If False, :class:`~dxpy.exceptions.DXSearchError` is raised if
the sear... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L679-L696 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_one_project | def find_one_project(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If Fal... | python | def find_one_project(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If Fal... | :param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If False, :class:`~dxpy.exceptions.DXSearchError` is raised if
the sear... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L699-L716 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_one_app | def find_one_app(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If False, ... | python | def find_one_app(zero_ok=False, more_ok=True, **kwargs):
"""
:param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If False, ... | :param zero_ok:
If False (default), :class:`~dxpy.exceptions.DXSearchError` is
raised if the search has 0 results; if True, returns None if the
search has 0 results
:type zero_ok: bool
:param more_ok:
If False, :class:`~dxpy.exceptions.DXSearchError` is raised if
the sear... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L719-L736 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | _org_find | def _org_find(api_method, org_id, query, first_page_size=100):
"""
Takes an API method handler ``dxpy.api.org_find...`` and calls it with
*org_id* and *query*, then wraps a generator around its output. Used by
:meth:`org_find_members` and :meth:`org_find_projects` below.
:param first_page_size: The... | python | def _org_find(api_method, org_id, query, first_page_size=100):
"""
Takes an API method handler ``dxpy.api.org_find...`` and calls it with
*org_id* and *query*, then wraps a generator around its output. Used by
:meth:`org_find_members` and :meth:`org_find_projects` below.
:param first_page_size: The... | Takes an API method handler ``dxpy.api.org_find...`` and calls it with
*org_id* and *query*, then wraps a generator around its output. Used by
:meth:`org_find_members` and :meth:`org_find_projects` below.
:param first_page_size: The number of results that the initial API call will return.
:type first_p... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L739-L762 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | org_find_members | def org_find_members(org_id=None, level=None, describe=False):
"""
:param org_id: ID of the organization
:type org_id: string
:param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or
"ADMIN")
:type level: string
:param describe: Wheth... | python | def org_find_members(org_id=None, level=None, describe=False):
"""
:param org_id: ID of the organization
:type org_id: string
:param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or
"ADMIN")
:type level: string
:param describe: Wheth... | :param org_id: ID of the organization
:type org_id: string
:param level: The membership level in the org that each member in the result set must have (one of "MEMBER" or
"ADMIN")
:type level: string
:param describe: Whether or not to return the response of ``dxpy.api.user_describe`` for each res... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L765-L785 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | org_find_projects | def org_find_projects(org_id=None, name=None, name_mode='exact', ids=None, properties=None, tags=None, describe=False,
public=None, created_after=None, created_before=None, region=None, containsPHI=None):
"""
:param org_id: ID of the organization
:type org_id: string
:param name: N... | python | def org_find_projects(org_id=None, name=None, name_mode='exact', ids=None, properties=None, tags=None, describe=False,
public=None, created_after=None, created_before=None, region=None, containsPHI=None):
"""
:param org_id: ID of the organization
:type org_id: string
:param name: N... | :param org_id: ID of the organization
:type org_id: string
:param name: Name that each result must have (also see *name_mode* param)
:type name: string
:param name_mode: Method by which to interpret the *name* param ("exact": exact match,
"glob": use "*" and "?" as wildcards, "regexp": interpret... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L788-L865 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | org_find_apps | def org_find_apps(org_id,
name=None,
name_mode='exact',
category=None,
all_versions=None,
published=None,
created_by=None,
developer=None,
authorized_user=None,
... | python | def org_find_apps(org_id,
name=None,
name_mode='exact',
category=None,
all_versions=None,
published=None,
created_by=None,
developer=None,
authorized_user=None,
... | :param name: Name of the app (also see *name_mode*)
:type name: string
:param name_mode: Method by which to interpret the *name* field
"exact": exact match,
"glob": use "*" and "?" as wildcards,
"regexp": interpret as a regular expression
:type name_mode: string
:param category: ... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L868-L985 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/search.py | find_orgs | def find_orgs(query, first_page_size=10):
"""
:param query: The input to the /system/findOrgs API method.
:type query: dict
:param first_page_size: The number of results that the initial
/system/findOrgs API call will return; default 10, max 1000. Subsequent
calls will raise the number ... | python | def find_orgs(query, first_page_size=10):
"""
:param query: The input to the /system/findOrgs API method.
:type query: dict
:param first_page_size: The number of results that the initial
/system/findOrgs API call will return; default 10, max 1000. Subsequent
calls will raise the number ... | :param query: The input to the /system/findOrgs API method.
:type query: dict
:param first_page_size: The number of results that the initial
/system/findOrgs API call will return; default 10, max 1000. Subsequent
calls will raise the number of returned results exponentially up to a
max ... | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/search.py#L987-L1004 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/download_all_inputs.py | _create_dirs | def _create_dirs(idir, dirs):
'''
Create a set of directories, so we could store the input files.
For example, seq1 could be stored under:
/in/seq1/NC_001122.fasta
TODO: this call could fail, we need to report a reasonable error code
Note that we create a directory for every file array, ev... | python | def _create_dirs(idir, dirs):
'''
Create a set of directories, so we could store the input files.
For example, seq1 could be stored under:
/in/seq1/NC_001122.fasta
TODO: this call could fail, we need to report a reasonable error code
Note that we create a directory for every file array, ev... | Create a set of directories, so we could store the input files.
For example, seq1 could be stored under:
/in/seq1/NC_001122.fasta
TODO: this call could fail, we need to report a reasonable error code
Note that we create a directory for every file array, even if
it has zero inputs. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/download_all_inputs.py#L27-L42 |
dnanexus/dx-toolkit | src/python/dxpy/bindings/download_all_inputs.py | _gen_helper_dict | def _gen_helper_dict(filtered_inputs):
'''
Create a dict of values for the downloaded files. This is similar to the variables created
when running a bash app.
'''
file_key_descs, _ignore = file_load_utils.analyze_bash_vars(
file_load_utils.get_input_json_file(), None)
flattened_dict = ... | python | def _gen_helper_dict(filtered_inputs):
'''
Create a dict of values for the downloaded files. This is similar to the variables created
when running a bash app.
'''
file_key_descs, _ignore = file_load_utils.analyze_bash_vars(
file_load_utils.get_input_json_file(), None)
flattened_dict = ... | Create a dict of values for the downloaded files. This is similar to the variables created
when running a bash app. | https://github.com/dnanexus/dx-toolkit/blob/74befb53ad90fcf902d8983ae6d74580f402d619/src/python/dxpy/bindings/download_all_inputs.py#L82-L105 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.