Skip to content

Commit

Permalink
12_geo_submission.ipynb updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RahiNav committed Sep 21, 2023
1 parent 0516731 commit 01edbfd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions notebooks/useful_notebooks/12_geo_submission.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,13 @@
" protocols = []\n",
" if experiment_object.get('protocol'):\n",
" protocol = get_item_in_store(experiment_object['protocol'])\n",
" if protocol not in protocols:\n",
" protocols.append(protocol)\n",
" protocols.append(protocol)\n",
" if experiment_object['protocol_variation']:\n",
" protocol_variations = experiment_object['protocol_variation']\n",
" for p in protocol_variations:\n",
" protocol_id = p['@id']\n",
" protocol_variations_details = get_item_in_store(protocol_id)\n",
" if protocol_variations_details not in protocols:\n",
" protocols.append(protocol_variations_details)\n",
" protocols.append(protocol_variations_details)\n",
" if experiment_object.get('cell_sorting_protocol'):\n",
" protocol_sorting = get_item_in_store(experiment_object['cell_sorting_protocol'])\n",
" protocols.append(protocol_sorting)\n",
Expand Down Expand Up @@ -666,7 +664,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -680,7 +678,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.13"
"version": "3.8.12"
},
"vscode": {
"interpreter": {
"hash": "20d91ac981d81ffaf62d1b59390659afd05fbcd41a0bec0e13249d20dc131a1e"
}
}
},
"nbformat": 4,
Expand Down

0 comments on commit 01edbfd

Please sign in to comment.