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
If you have a file type CIV (e.g. clinical-information-lung-ct) and try to upload a JSON object directly to that (e.g. {'age': 60, 'gender': 'FEMALE', 'smoking_status': 'Ex-smoker', 'clinical_category': None, 'regional_nodes_category': None, 'metastasis_category': None}) it will fail with ValueError: You can only upload one single file to a clinical-information-lung-ct interface..
This is kindof cryptic, as the solution is for the user to write the file to disk first, then send the name or Path object along.
We should detect this and handle it ourselves as the user should need to know about the details of how the CIV is stored within GC in order to upload it. However, we need to be careful as string values could just point to files.
The text was updated successfully, but these errors were encountered:
If you have a file type CIV (e.g.
clinical-information-lung-ct
) and try to upload a JSON object directly to that (e.g.{'age': 60, 'gender': 'FEMALE', 'smoking_status': 'Ex-smoker', 'clinical_category': None, 'regional_nodes_category': None, 'metastasis_category': None}
) it will fail withValueError: You can only upload one single file to a clinical-information-lung-ct interface.
.This is kindof cryptic, as the solution is for the user to write the file to disk first, then send the name or Path object along.
We should detect this and handle it ourselves as the user should need to know about the details of how the CIV is stored within GC in order to upload it. However, we need to be careful as string values could just point to files.
The text was updated successfully, but these errors were encountered: