"### By default: Box sizes of 10x10 are created! Please make sure to check the Box size with the user and correct them in the UI after boxes are created before populating with Samples!!!"
]
},
{
"cell_type": "markdown",
"id": "e87c18f0",
"metadata": {},
"source": [
"### First check for duplicate locations"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8d9568dd",
"metadata": {},
"outputs": [],
"source": [
"# Get a list of duplicates for Location column in df\n",
print("Success: Data inserted into the DataClass: Patient")
exceptExceptionase:
print(f'Error inserting data: {e}')
exit(1)
```
%% Output
Success: Domain created for sample source: Patient
Success: Data inserted into the DataClass: Patient
%% Cell type:markdown id:36d27f01 tags:
## Process Samples and Create Storage Hierarchy
### By default: Box sizes of 10x10 are created! Please make sure to check the Box size with the user and correct them in the UI after boxes are created before populating with Samples!!!
%% Cell type:markdown id:e87c18f0 tags:
### First check for duplicate locations
%% Cell type:code id:8d9568dd tags:
``` python
# Get a list of duplicates for Location column in df
'\nfor sample_type in sample_types:\n\n drop_response = api.domain.drop("samples", sample_type)\n if "success" in drop_response:\n print("The dataset domain was deleted.")\'\n'
print("Success: Data inserted into the DataClass: Patient")
exceptExceptionase:
print(f'Error inserting data: {e}')
exit(1)
# %% [markdown]
# ## Process Samples and Create Storage Hierarchy
### By default: Box sizes of 10x10 are created! Please make sure to check the Box size with the user and correct them in the UI after boxes are created before populating with Samples!!!