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
summary="Upload score and variant count files for a score set",
1694
+
openapi_extra={
1695
+
"requestBody": {
1696
+
"content": {
1697
+
"multipart/form-data": {
1698
+
"schema": {
1699
+
"type": "object",
1700
+
"properties": {
1701
+
"scores_file": {
1702
+
"type": "string",
1703
+
"format": "binary",
1704
+
"description": "CSV file containing variant scores. This file is required, and should have at least one score column.",
1705
+
},
1706
+
"counts_file": {
1707
+
"type": "string | null",
1708
+
"format": "binary",
1709
+
"description": "CSV file containing variant counts. If provided, this file should have the same index and variant columns as the scores file.",
1710
+
},
1711
+
"score_columns_metadata": {
1712
+
"type": "string | null",
1713
+
"format": "binary",
1714
+
"description": "JSON file containing metadata for score columns. If provided, this file should have metadata for one or more score columns in the scores file. This JSON file should provide a dictionary mapping column names to metadata objects. Metadata objects should follow the DatasetColumnMetadata schema: `{'description': string, 'details': string}`.",
1715
+
},
1716
+
"count_columns_metadata": {
1717
+
"type": "string | null",
1718
+
"format": "binary",
1719
+
"description": "JSON file containing metadata for count columns. If provided, this file should have metadata for one or more count columns in the counts file. This JSON file should provide a dictionary mapping column names to metadata objects. Metadata objects should follow the DatasetColumnMetadata schema: `{'description': string, 'details': string}`.",
1720
+
},
1721
+
},
1722
+
}
1723
+
},
1724
+
},
1725
+
"description": "Score files, to be uploaded as multipart form data. The `scores_file` is required, while the `counts_file`, `score_columns_metadata`, and `count_columns_metadata` are optional.",
"description": "CSV file containing variant scores. If provided, this file should have at least one score column.",
1812
+
},
1813
+
"counts_file": {
1814
+
"type": "string | null",
1815
+
"format": "binary",
1816
+
"description": "CSV file containing variant counts. If provided, this file should have the same index and variant columns as the scores file.",
1817
+
},
1818
+
"score_columns_metadata": {
1819
+
"type": "string | null",
1820
+
"format": "binary",
1821
+
"description": "JSON file containing metadata for score columns. If provided, this file should have metadata for one or more score columns in the scores file. This JSON file should provide a dictionary mapping column names to metadata objects. Metadata objects should follow the DatasetColumnMetadata schema: `{'description': string, 'details': string}`.",
1822
+
},
1823
+
"count_columns_metadata": {
1824
+
"type": "string | null",
1825
+
"format": "binary",
1826
+
"description": "JSON file containing metadata for count columns. If provided, this file should have metadata for one or more count columns in the counts file. This JSON file should provide a dictionary mapping column names to metadata objects. Metadata objects should follow the DatasetColumnMetadata schema: `{'description': string, 'details': string}`.",
1827
+
},
1828
+
},
1829
+
}
1830
+
},
1831
+
},
1832
+
"description": "Score set properties and score files, to be uploaded as multipart form data. All fields here are optional, and only those provided will be updated.",
0 commit comments