{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 01 \u2014 Setup identifiers\n", "\n", "Week 1, task 1 (PLAN.md \u00a76). Pin the disease/gene/ground-truth identifiers and persist them to `data/processed/identifiers.json`." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import sys\n", "sys.path.insert(0, '..') # import the src package from notebooks/" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from src.identifiers import build_identifier_set, persist_identifiers\n", "\n", "ids = build_identifier_set()\n", "ids.model_dump()" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "path = persist_identifiers()\n", "print(f'wrote {path}')" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5 }