You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and [synapseConfig](https://raw.githubusercontent.com/Sage-Bionetworks/synapsePythonClient/v2.3.0-rc/synapseclient/.synapseConfig)
80
80
@@ -88,6 +88,8 @@ editor of your choice and edit the `username` and `authtoken` attribute under th
88
88
89
89
<strong>Configure config.yml File</strong>
90
90
91
+
*Note*: Below is only a brief explanation of some attributes in `config.yml`. <strong>Please use the link [here](https://github.com/Sage-Bionetworks/schematic/blob/develop/config.yml) to get the latest version of `config.yml` in `develop` branch</strong>.
92
+
91
93
Description of `config.yml` attributes
92
94
93
95
definitions:
@@ -104,20 +106,39 @@ Description of `config.yml` attributes
104
106
service_acct_creds: "syn25171627" # synapse ID of service_account_creds.json file
105
107
106
108
manifest:
107
-
title: "Patient Manifest " # title of metadata manifest file
108
-
data_type: "Patient" # component or data type from the data model
109
+
title: "example" # title of metadata manifest file
110
+
# to make all manifests enter only 'all manifests'
111
+
data_type:
112
+
- "Biospecimen"
113
+
- "Patient"
109
114
110
115
model:
111
116
input:
112
117
location: "data/schema_org_schemas/example.jsonld" # path to JSON-LD data model
113
118
file_type: "local" # only type "local" is supported currently
Copy file name to clipboardExpand all lines: api/openapi/api.yaml
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,22 @@ paths:
79
79
nullable: true
80
80
description: ID of view listing all project data assets. E.g. for Synapse this would be the Synapse ID of the fileview listing all data assets for a given project.(i.e. master_fileview in config.yml)
81
81
required: false
82
+
- in: query
83
+
name: output_format
84
+
schema:
85
+
type: string
86
+
enum: ["excel", "google_sheet", "dataframe (only if getting existing manifests)"]
87
+
description: If "excel" gets selected, this approach would avoid sending metadata to Google sheet APIs; if "google_sheet" gets selected, this would return a Google sheet URL. This parameter could potentially override sheet_url parameter.
88
+
required: false
82
89
operationId: api.routes.get_manifest_route
83
90
responses:
84
-
"201":
85
-
description: Googlesheet link created
91
+
"200":
92
+
description: Googlesheet link created OR an excel file gets returned OR pandas dataframe gets returned
86
93
content:
94
+
application/vnd.ms-excel:
95
+
schema:
96
+
type: string
97
+
format: binary
87
98
application/json:
88
99
schema:
89
100
type: string
@@ -381,6 +392,13 @@ paths:
381
392
description: Title of Manifest
382
393
example: Example
383
394
required: false
395
+
- in: query
396
+
name: return_excel
397
+
schema:
398
+
type: boolean
399
+
nullable: true
400
+
description: If true, this would return an Excel spreadsheet.(This approach would avoid sending metadata to Google sheet APIs)
"""Get the immediate dependencies that are related to a given source node.
202
+
Args:
203
+
schema_url: link to data model in json ld format
204
+
title: title of a given manifest.
205
+
oauth: if user wants to use OAuth for Google authentication
206
+
dataset_id: Synapse ID of the "dataset" entity on Synapse (for a given center/project).
207
+
output_format: contains three option: "excel", "google_sheet", and "dataframe". if set to "excel", return an excel spreadsheet
208
+
use_annotations: Whether to use existing annotations during manifest generation
209
+
asset_view: ID of view listing all project data assets. For example, for Synapse this would be the Synapse ID of the fileview listing all data assets for a given project.
210
+
Returns:
211
+
Googlesheet URL (if sheet_url is True), or pandas dataframe (if sheet_url is False).
0 commit comments