{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "# Examples on how to use refineGEMs" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "# imports\n", "import refinegems as rg" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Loading a model" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "# load a model with cobra\n", "model = rg.utility.io.load_model('../../../src/refinegems/example/e_coli_core.xml','cobra')" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "rg", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.13" }, "orig_nbformat": 4, "vscode": { "interpreter": { "hash": "d346240008253c0833d91dc133a0f72ff509568477a857db219647a824e7753e" } } }, "nbformat": 4, "nbformat_minor": 2 }