diff --git a/notebooks/copasi_process_composer.ipynb b/notebooks/copasi_process_composer.ipynb index 658090541..307830958 100644 --- a/notebooks/copasi_process_composer.ipynb +++ b/notebooks/copasi_process_composer.ipynb @@ -17,8 +17,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2024-03-04T17:50:00.677085Z", - "start_time": "2024-03-04T17:50:00.673697Z" + "end_time": "2024-03-04T18:12:46.780098Z", + "start_time": "2024-03-04T18:12:46.776381Z" } }, "outputs": [], @@ -51,8 +51,8 @@ "metadata": { "collapsed": false, "ExecuteTime": { - "end_time": "2024-03-04T17:50:02.887453Z", - "start_time": "2024-03-04T17:50:01.104405Z" + "end_time": "2024-03-04T18:13:02.776479Z", + "start_time": "2024-03-04T18:12:47.630719Z" } }, "id": "65385e04f4f5dd1a", @@ -70,14 +70,10 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "cc709690e20090cf", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:02.888217Z", - "start_time": "2024-03-04T17:50:02.886116Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -106,25 +102,12 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "edf123175ec3408c", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:04.622174Z", - "start_time": "2024-03-04T17:50:04.614887Z" - } + "collapsed": false }, - "outputs": [ - { - "data": { - "text/plain": "True" - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "model_filepath = '../biosimulator_processes/model_files/BIOMD0000000061_url.xml'\n", "\n", @@ -133,14 +116,10 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "40ab6f70ac3f4996", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:05.248267Z", - "start_time": "2024-03-04T17:50:05.244475Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -151,31 +130,12 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "d02a547b85138f96", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:05.763539Z", - "start_time": "2024-03-04T17:50:05.760973Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'global_parameter_changes': [],\n", - " 'reaction_changes': [],\n", - " 'species_changes': [ { 'expression': '',\n", - " 'initial_concentration': 9.261000000000001,\n", - " 'initial_expression': '',\n", - " 'initial_particle_number': None,\n", - " 'name': 'ADP',\n", - " 'unit': ''}]}\n" - ] - } - ], + "outputs": [], "source": [ "# 1. specify model changes (we know the model specs as we are providing the file. TODO: allow users to introspect the model before change)\n", "process_model_changes = ModelChanges(\n", @@ -188,36 +148,12 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "1b6c269646357d7d", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:06.373209Z", - "start_time": "2024-03-04T17:50:06.370745Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'model_changes': { 'global_parameter_changes': [],\n", - " 'reaction_changes': [],\n", - " 'species_changes': [ { 'expression': '',\n", - " 'initial_concentration': 9.261000000000001,\n", - " 'initial_expression': '',\n", - " 'initial_particle_number': None,\n", - " 'name': 'ADP',\n", - " 'unit': ''}]},\n", - " 'model_id': 'copasi_process_from_file',\n", - " 'model_language': 'sbml',\n", - " 'model_name': 'Simple Composite Process from File',\n", - " 'model_source': { 'value': '../biosimulator_processes/model_files/BIOMD0000000061_url.xml'},\n", - " 'model_units': None}\n" - ] - } - ], + "outputs": [], "source": [ "# 2. define the model schema to be used by the composite process (one of the copasiprocess config parameters)\n", "\n", @@ -234,38 +170,12 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "5d434956e65b1a42", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:06.867692Z", - "start_time": "2024-03-04T17:50:06.856103Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'method': 'stochastic',\n", - " 'model': { 'model_changes': { 'global_parameter_changes': [],\n", - " 'reaction_changes': [],\n", - " 'species_changes': [ { 'expression': '',\n", - " 'initial_concentration': 9.261000000000001,\n", - " 'initial_expression': '',\n", - " 'initial_particle_number': None,\n", - " 'name': 'ADP',\n", - " 'unit': ''}]},\n", - " 'model_id': 'copasi_process_from_file',\n", - " 'model_language': 'sbml',\n", - " 'model_name': 'Simple Composite Process from File',\n", - " 'model_source': { 'value': '../biosimulator_processes/model_files/BIOMD0000000061_url.xml'},\n", - " 'model_units': None},\n", - " 'process_name': 'simple_copasi_from_file'}\n" - ] - } - ], + "outputs": [], "source": [ "# 3. Define config schema to be used as 'config' parameter of Process constructor\n", "process_config_from_file = CopasiProcessConfigSchema(\n", @@ -280,39 +190,22 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "de88e95d8f616779", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:07.430573Z", - "start_time": "2024-03-04T17:50:07.417667Z" - } + "collapsed": false }, - "outputs": [ - { - "data": { - "text/plain": "{'model_id': 'copasi_process_from_file',\n 'model_source': {'value': '../biosimulator_processes/model_files/BIOMD0000000061_url.xml'},\n 'model_language': 'sbml',\n 'model_name': 'Simple Composite Process from File',\n 'model_changes': {'species_changes': [{'name': 'ADP',\n 'unit': '',\n 'initial_concentration': 9.261000000000001,\n 'initial_particle_number': None,\n 'initial_expression': '',\n 'expression': ''}],\n 'global_parameter_changes': [],\n 'reaction_changes': []},\n 'model_units': None}" - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "process_config_from_file.model" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "52d81ea2ea688d47", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:08.032162Z", - "start_time": "2024-03-04T17:50:07.858962Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -338,14 +231,10 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "f499f96a817d9faf", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:09.130046Z", - "start_time": "2024-03-04T17:50:09.127179Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -361,14 +250,10 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "id": "c24594c6e8229e20", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:09.703656Z", - "start_time": "2024-03-04T17:50:09.699035Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -379,14 +264,10 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "454db50d61220bc5", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:10.125789Z", - "start_time": "2024-03-04T17:50:10.122877Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -413,14 +294,10 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "bd6781fe4a749c29", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:10.818914Z", - "start_time": "2024-03-04T17:50:10.816816Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -431,73 +308,24 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "e414174a2d6d331b", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:11.493997Z", - "start_time": "2024-03-04T17:50:11.486528Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'global_parameter_changes': [],\n", - " 'reaction_changes': [ { 'parameter_changes': [ { 'parameter_name': 'EpoRpRJAK2',\n", - " 'value': 21312.2},\n", - " { 'parameter_name': 'EpoRJAK2',\n", - " 'value': 21312.2}],\n", - " 'reaction_name': 'reaction_1',\n", - " 'reaction_scheme': None},\n", - " { 'parameter_changes': [],\n", - " 'reaction_name': 'reaction_11',\n", - " 'reaction_scheme': 'A + B -> C'}],\n", - " 'species_changes': []}\n" - ] - } - ], + "outputs": [], "source": [ "pp(biomodel_process_changes.model_dump())" ] }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "9de88bc52fb9a164", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:12.301630Z", - "start_time": "2024-03-04T17:50:12.297923Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'model_changes': { 'global_parameter_changes': [],\n", - " 'reaction_changes': [ { 'parameter_changes': [ { 'parameter_name': 'EpoRpRJAK2',\n", - " 'value': 21312.2},\n", - " { 'parameter_name': 'EpoRJAK2',\n", - " 'value': 21312.2}],\n", - " 'reaction_name': 'reaction_1',\n", - " 'reaction_scheme': None},\n", - " { 'parameter_changes': [],\n", - " 'reaction_name': 'reaction_11',\n", - " 'reaction_scheme': 'A + B -> C'}],\n", - " 'species_changes': []},\n", - " 'model_id': 'BIOMD0000000861',\n", - " 'model_language': 'sbml',\n", - " 'model_name': 'composite_from_biomodel',\n", - " 'model_source': {'value': 'BIOMD0000000861'},\n", - " 'model_units': None}\n" - ] - } - ], + "outputs": [], "source": [ "biomodel_id = 'BIOMD0000000861'\n", "\n", @@ -514,45 +342,12 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "25ba11c1e1e75f94", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:13.242111Z", - "start_time": "2024-03-04T17:50:13.238863Z" - } + "collapsed": false }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{ 'method': 'directMethod',\n", - " 'model': { 'model_changes': { 'global_parameter_changes': [],\n", - " 'reaction_changes': [ { 'parameter_changes': [ { 'parameter_name': 'EpoRpRJAK2',\n", - " 'value': 21312.2},\n", - " { 'parameter_name': 'EpoRJAK2',\n", - " 'value': 21312.2}],\n", - " 'reaction_name': 'reaction_1',\n", - " 'reaction_scheme': None},\n", - " { 'parameter_changes': [],\n", - " 'reaction_name': 'reaction_11',\n", - " 'reaction_scheme': 'A '\n", - " '+ '\n", - " 'B '\n", - " '-> '\n", - " 'C'}],\n", - " 'species_changes': []},\n", - " 'model_id': 'BIOMD0000000861',\n", - " 'model_language': 'sbml',\n", - " 'model_name': 'composite_from_biomodel',\n", - " 'model_source': {'value': 'BIOMD0000000861'},\n", - " 'model_units': None},\n", - " 'process_name': 'copasi_process_from_biomodel'}\n" - ] - } - ], + "outputs": [], "source": [ "biomodel_process_config = CopasiProcessConfigSchema(\n", " process_name='copasi_process_from_biomodel',\n", @@ -576,14 +371,10 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "4c3f073b10e2dcc0", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:18.027839Z", - "start_time": "2024-03-04T17:50:15.583320Z" - } + "collapsed": false }, "outputs": [], "source": [ @@ -606,26 +397,12 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "c5e03e6714faf9f4", "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:50:41.572855Z", - "start_time": "2024-03-04T17:50:41.248206Z" - } + "collapsed": false }, - "outputs": [ - { - "data": { - "image/svg+xml": "\n\n\n\n\n\nbigraph\n\n\n\n('simple_copasi_from_file', 'interval')\n\ninterval\n\n\n\n('copasi_process_from_biomodel', 'interval')\n\ninterval\n\n\n\n('simple_copasi_from_file',)\n\nsimple_copasi_from_file\n\n\n\n('simple_copasi_from_file',)->('simple_copasi_from_file', 'interval')\n\n\n\n\n('copasi_process_from_biomodel',)\n\ncopasi_process_from_biomodel\n\n\n\n('copasi_process_from_biomodel',)->('copasi_process_from_biomodel', 'interval')\n\n\n\n\n\n('simple_copasi_from_file', 't', 'i', 'm', 'e')->('simple_copasi_from_file',)\n\n\ntime\n\n\n\n('simple_copasi_from_file', 't', 'i', 'm', 'e')->('simple_copasi_from_file',)\n\n\ntime\n\n\n\n\n('simple_copasi_from_file', 'f', 'l', 'o', 'a', 't', 'i', 'n', 'g', '_', 's', 'p', 'e', 'c', 'i', 'e', 's')->('simple_copasi_from_file',)\n\n\nfloating_species\n\n\n\n('simple_copasi_from_file', 'f', 'l', 'o', 'a', 't', 'i', 'n', 'g', '_', 's', 'p', 'e', 'c', 'i', 'e', 's')->('simple_copasi_from_file',)\n\n\nfloating_species\n\n\n\n\n('simple_copasi_from_file', 'm', 'o', 'd', 'e', 'l', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's')->('simple_copasi_from_file',)\n\n\nmodel_parameters\n\n\n\n\n('simple_copasi_from_file', 'r', 'e', 'a', 'c', 't', 'i', 'o', 'n', 's')->('simple_copasi_from_file',)\n\n\nreactions\n\n\n\n\n('copasi_process_from_biomodel', 't', 'i', 'm', 'e')->('copasi_process_from_biomodel',)\n\n\ntime\n\n\n\n('copasi_process_from_biomodel', 't', 'i', 'm', 'e')->('copasi_process_from_biomodel',)\n\n\ntime\n\n\n\n\n('copasi_process_from_biomodel', 'f', 'l', 'o', 'a', 't', 'i', 'n', 'g', '_', 's', 'p', 'e', 'c', 'i', 'e', 's')->('copasi_process_from_biomodel',)\n\n\nfloating_species\n\n\n\n('copasi_process_from_biomodel', 'f', 'l', 'o', 'a', 't', 'i', 'n', 'g', '_', 's', 'p', 'e', 'c', 'i', 'e', 's')->('copasi_process_from_biomodel',)\n\n\nfloating_species\n\n\n\n\n('copasi_process_from_biomodel', 'm', 'o', 'd', 'e', 'l', '_', 'p', 'a', 'r', 'a', 'm', 'e', 't', 'e', 'r', 's')->('copasi_process_from_biomodel',)\n\n\nmodel_parameters\n\n\n\n\n('copasi_process_from_biomodel', 'r', 'e', 'a', 'c', 't', 'i', 'o', 'n', 's')->('copasi_process_from_biomodel',)\n\n\nreactions\n\n\n\n", - "text/plain": "" - }, - "execution_count": 19, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "b.visualize()" ] @@ -642,30 +419,17 @@ }, { "cell_type": "code", - "outputs": [ - { - "data": { - "text/plain": "Builder({ 'copasi_process_from_biomodel': { '_type': 'process',\n 'address': 'local:CopasiProcess',\n 'config': { 'method': 'directMethod',\n 'model': { 'model_changes': { 'global_parameter_changes': [ ],\n 'reaction_changes': [ { 'parameter_changes': [ { 'parameter_name': 'EpoRpRJAK2',\n 'value': 21312.2},\n { 'parameter_name': 'EpoRJAK2',\n 'value': 21312.2}],\n 'reaction_name': 'reaction_1',\n 'reaction_scheme': None},\n { 'parameter_changes': [ ],\n 'reaction_name': 'reaction_11',\n 'reaction_scheme': 'A '\n '+ '\n 'B '\n '-> '\n 'C'}],\n 'species_changes': [ ]},\n 'model_id': 'BIOMD0000000861',\n 'model_language': 'sbml',\n 'model_name': 'composite_from_biomodel',\n 'model_source': { 'value': 'BIOMD0000000861'},\n 'model_units': None}},\n 'inputs': { 'floating_species': [ 'floating_species_store'],\n 'model_parameters': [ 'model_parameters_store'],\n 'reactions': [ 'reactions_store'],\n 'time': ['time_store']},\n 'instance': ,\n 'interval': 1.0,\n 'outputs': { 'floating_species': [ 'floating_species_store'],\n 'time': ['time_store']}},\n 'simple_copasi_from_file': { '_type': 'process',\n 'address': 'local:CopasiProcess',\n 'config': { 'method': 'stochastic',\n 'model': { 'model_changes': { 'global_parameter_changes': [ ],\n 'reaction_changes': [ ],\n 'species_changes': [ { 'expression': '',\n 'initial_concentration': 9.261000000000001,\n 'initial_expression': '',\n 'initial_particle_number': None,\n 'unit': ''}]},\n 'model_id': 'copasi_process_from_file',\n 'model_language': 'sbml',\n 'model_name': 'Simple '\n 'Composite '\n 'Process '\n 'from File',\n 'model_source': { 'value': '../biosimulator_processes/model_files/BIOMD0000000061_url.xml'},\n 'model_units': None}},\n 'inputs': { 'floating_species': [ 'floating_species_store'],\n 'model_parameters': [ 'model_parameters_store'],\n 'reactions': ['reactions_store'],\n 'time': ['time_store']},\n 'instance': ,\n 'interval': 1.0,\n 'outputs': { 'floating_species': [ 'floating_species_store'],\n 'time': ['time_store']}}})" - }, - "execution_count": 27, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "b.connect_all(append_to_store_name='_store')\n", "\n", "b" ], "metadata": { - "collapsed": false, - "ExecuteTime": { - "end_time": "2024-03-04T17:53:24.749677Z", - "start_time": "2024-03-04T17:53:24.744838Z" - } + "collapsed": false }, "id": "d9bef3f51b50fbd5", - "execution_count": 27 + "execution_count": null }, { "cell_type": "code", diff --git a/poetry.lock b/poetry.lock index 6e751b9ac..692296200 100644 --- a/poetry.lock +++ b/poetry.lock @@ -256,12 +256,12 @@ process-bigraph = "*" [[package]] name = "bigraph-schema" -version = "0.0.29" +version = "0.0.30" description = "A serializable type schema for compositional systems biology" optional = false python-versions = ">=3.6" files = [ - {file = "bigraph-schema-0.0.29.tar.gz", hash = "sha256:460bb5e2dd21c0044779024cf03a2a1b68e44f25da775f6bfc0c62ff79037667"}, + {file = "bigraph-schema-0.0.30.tar.gz", hash = "sha256:dd7a2c047ff144f9e65236ad4cd93f51737cbefe8d1b531cf78d500e91371e38"}, ] [package.dependencies] @@ -272,12 +272,12 @@ pytest = "*" [[package]] name = "bigraph-viz" -version = "0.0.31" +version = "0.0.33" description = "A graphviz-based plotting tool for compositional bigraph schema" optional = false python-versions = ">=3.6" files = [ - {file = "bigraph-viz-0.0.31.tar.gz", hash = "sha256:ec3c5c1a37c651fe4e0a07f01a18ba0d35c780b53557f588e9bd9080bdc50ba7"}, + {file = "bigraph-viz-0.0.33.tar.gz", hash = "sha256:abec065149184247967c07dad0c9114a8ac379b331efebf829eecf057fe6dd9c"}, ] [package.dependencies] @@ -1156,13 +1156,13 @@ test = ["flaky", "ipyparallel", "pre-commit", "pytest (>=7.0)", "pytest-asyncio [[package]] name = "ipython" -version = "8.22.1" +version = "8.22.2" description = "IPython: Productive Interactive Computing" optional = false python-versions = ">=3.10" files = [ - {file = "ipython-8.22.1-py3-none-any.whl", hash = "sha256:869335e8cded62ffb6fac8928e5287a05433d6462e3ebaac25f4216474dd6bc4"}, - {file = "ipython-8.22.1.tar.gz", hash = "sha256:39c6f9efc079fb19bfb0f17eee903978fe9a290b1b82d68196c641cecb76ea22"}, + {file = "ipython-8.22.2-py3-none-any.whl", hash = "sha256:3c86f284c8f3d8f2b6c662f885c4889a91df7cd52056fd02b7d8d6195d7f56e9"}, + {file = "ipython-8.22.2.tar.gz", hash = "sha256:2dcaad9049f9056f1fef63514f176c7d41f930daa78d05b82a176202818f2c14"}, ] [package.dependencies] @@ -1275,13 +1275,13 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "json5" -version = "0.9.17" +version = "0.9.20" description = "A Python implementation of the JSON5 data format." optional = false python-versions = ">=3.8" files = [ - {file = "json5-0.9.17-py2.py3-none-any.whl", hash = "sha256:f8ec1ecf985951d70f780f6f877c4baca6a47b6e61e02c4cd190138d10a7805a"}, - {file = "json5-0.9.17.tar.gz", hash = "sha256:717d99d657fa71b7094877b1d921b1cce40ab444389f6d770302563bb7dfd9ae"}, + {file = "json5-0.9.20-py3-none-any.whl", hash = "sha256:f623485b37fad95783233bad9352d21526709cbd9a2ec41ddc3e950fca85b701"}, + {file = "json5-0.9.20.tar.gz", hash = "sha256:20a255981244081d5aaa4adc90d31cdbf05bed1863993cbf300b8e2cd2b6de88"}, ] [package.extras] @@ -1424,13 +1424,13 @@ jupyter-server = ">=1.1.2" [[package]] name = "jupyter-server" -version = "2.12.5" +version = "2.13.0" description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications." optional = false python-versions = ">=3.8" files = [ - {file = "jupyter_server-2.12.5-py3-none-any.whl", hash = "sha256:184a0f82809a8522777cfb6b760ab6f4b1bb398664c5860a27cec696cb884923"}, - {file = "jupyter_server-2.12.5.tar.gz", hash = "sha256:0edb626c94baa22809be1323f9770cf1c00a952b17097592e40d03e6a3951689"}, + {file = "jupyter_server-2.13.0-py3-none-any.whl", hash = "sha256:77b2b49c3831fbbfbdb5048cef4350d12946191f833a24e5f83e5f8f4803e97b"}, + {file = "jupyter_server-2.13.0.tar.gz", hash = "sha256:c80bfb049ea20053c3d9641c2add4848b38073bf79f1729cea1faed32fc1c78e"}, ] [package.dependencies] @@ -1456,7 +1456,7 @@ websocket-client = "*" [package.extras] docs = ["ipykernel", "jinja2", "jupyter-client", "jupyter-server", "myst-parser", "nbformat", "prometheus-client", "pydata-sphinx-theme", "send2trash", "sphinx-autodoc-typehints", "sphinxcontrib-github-alt", "sphinxcontrib-openapi (>=0.8.0)", "sphinxcontrib-spelling", "sphinxemoji", "tornado", "typing-extensions"] -test = ["flaky", "ipykernel", "pre-commit", "pytest (>=7.0)", "pytest-console-scripts", "pytest-jupyter[server] (>=0.4)", "pytest-timeout", "requests"] +test = ["flaky", "ipykernel", "pre-commit", "pytest (>=7.0)", "pytest-console-scripts", "pytest-jupyter[server] (>=0.7)", "pytest-timeout", "requests"] [[package]] name = "jupyter-server-terminals" @@ -1547,13 +1547,13 @@ test = ["hatch", "ipykernel", "openapi-core (>=0.18.0,<0.19.0)", "openapi-spec-v [[package]] name = "keyring" -version = "24.3.0" +version = "24.3.1" description = "Store and access your passwords safely." optional = false python-versions = ">=3.8" files = [ - {file = "keyring-24.3.0-py3-none-any.whl", hash = "sha256:4446d35d636e6a10b8bce7caa66913dd9eca5fd222ca03a3d42c38608ac30836"}, - {file = "keyring-24.3.0.tar.gz", hash = "sha256:e730ecffd309658a08ee82535a3b5ec4b4c8669a9be11efb66249d8e0aeb9a25"}, + {file = "keyring-24.3.1-py3-none-any.whl", hash = "sha256:df38a4d7419a6a60fea5cef1e45a948a3e8430dd12ad88b0f423c5c143906218"}, + {file = "keyring-24.3.1.tar.gz", hash = "sha256:c3327b6ffafc0e8befbdb597cacdb4928ffe5c1212f7645f186e6d9957a898db"}, ] [package.dependencies] @@ -1566,7 +1566,7 @@ SecretStorage = {version = ">=3.2", markers = "sys_platform == \"linux\""} [package.extras] completion = ["shtab (>=1.1.0)"] docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-ruff"] +testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy", "pytest-ruff (>=0.2.1)"] [[package]] name = "kiwisolver" @@ -2013,13 +2013,13 @@ test = ["flaky", "ipykernel (>=6.19.3)", "ipython", "ipywidgets", "nbconvert (>= [[package]] name = "nbconvert" -version = "7.16.1" +version = "7.16.2" description = "Converting Jupyter Notebooks (.ipynb files) to other formats. Output formats include asciidoc, html, latex, markdown, pdf, py, rst, script. nbconvert can be used both as a Python library (`import nbconvert`) or as a command line tool (invoked as `jupyter nbconvert ...`)." optional = false python-versions = ">=3.8" files = [ - {file = "nbconvert-7.16.1-py3-none-any.whl", hash = "sha256:3188727dffadfdc9c6a1c7250729063d7bc78b355ad7aa023138afa030d1cd07"}, - {file = "nbconvert-7.16.1.tar.gz", hash = "sha256:e79e6a074f49ba3ed29428ed86487bf51509d9aab613bd8522ac08f6d28fd7fd"}, + {file = "nbconvert-7.16.2-py3-none-any.whl", hash = "sha256:0c01c23981a8de0220255706822c40b751438e32467d6a686e26be08ba784382"}, + {file = "nbconvert-7.16.2.tar.gz", hash = "sha256:8310edd41e1c43947e4ecf16614c61469ebc024898eb808cce0999860fc9fb16"}, ] [package.dependencies] @@ -2583,17 +2583,17 @@ xarray = ["xarray"] [[package]] name = "pkginfo" -version = "1.9.6" +version = "1.10.0" description = "Query metadata from sdists / bdists / installed packages." optional = false python-versions = ">=3.6" files = [ - {file = "pkginfo-1.9.6-py3-none-any.whl", hash = "sha256:4b7a555a6d5a22169fcc9cf7bfd78d296b0361adad412a346c1226849af5e546"}, - {file = "pkginfo-1.9.6.tar.gz", hash = "sha256:8fd5896e8718a4372f0ea9cc9d96f6417c9b986e23a4d116dda26b62cc29d046"}, + {file = "pkginfo-1.10.0-py3-none-any.whl", hash = "sha256:889a6da2ed7ffc58ab5b900d888ddce90bce912f2d2de1dc1c26f4cb9fe65097"}, + {file = "pkginfo-1.10.0.tar.gz", hash = "sha256:5df73835398d10db79f8eecd5cd86b1f6d29317589ea70796994d49399af6297"}, ] [package.extras] -testing = ["pytest", "pytest-cov"] +testing = ["pytest", "pytest-cov", "wheel"] [[package]] name = "platformdirs" @@ -2642,12 +2642,12 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "process-bigraph" -version = "0.0.14" +version = "0.0.15" description = "" optional = false python-versions = ">=3.6" files = [ - {file = "process-bigraph-0.0.14.tar.gz", hash = "sha256:d737b0f37e38e34bc67a5f7266e7aa2034d68758ab33b2a095c6aa46bf0ddaff"}, + {file = "process-bigraph-0.0.15.tar.gz", hash = "sha256:8d002aa47ed9a966271f83626d391437d45f12cdf80e83c1dfed5723084797c1"}, ] [package.dependencies] @@ -2763,13 +2763,13 @@ files = [ [[package]] name = "pydantic" -version = "2.6.2" +version = "2.6.3" description = "Data validation using Python type hints" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic-2.6.2-py3-none-any.whl", hash = "sha256:37a5432e54b12fecaa1049c5195f3d860a10e01bdfd24f1840ef14bd0d3aeab3"}, - {file = "pydantic-2.6.2.tar.gz", hash = "sha256:a09be1c3d28f3abe37f8a78af58284b236a92ce520105ddc91a6d29ea1176ba7"}, + {file = "pydantic-2.6.3-py3-none-any.whl", hash = "sha256:72c6034df47f46ccdf81869fddb81aade68056003900a8724a4f160700016a2a"}, + {file = "pydantic-2.6.3.tar.gz", hash = "sha256:e07805c4c7f5c6826e33a1d4c9d47950d7eaf34868e2690f8594d2e30241f11f"}, ] [package.dependencies] @@ -3093,13 +3093,13 @@ files = [ [[package]] name = "python-dateutil" -version = "2.8.2" +version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, ] [package.dependencies] @@ -3800,13 +3800,13 @@ files = [ [[package]] name = "rich" -version = "13.7.0" +version = "13.7.1" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false python-versions = ">=3.7.0" files = [ - {file = "rich-13.7.0-py3-none-any.whl", hash = "sha256:6da14c108c4866ee9520bbffa71f6fe3962e193b7da68720583850cd4548e235"}, - {file = "rich-13.7.0.tar.gz", hash = "sha256:5cb5123b5cf9ee70584244246816e9114227e0b98ad9176eede6ad54bf5403fa"}, + {file = "rich-13.7.1-py3-none-any.whl", hash = "sha256:4edbae314f59eb482f54e9e30bf00d33350aaa94f4bfcd4e9e3110e64d0d7222"}, + {file = "rich-13.7.1.tar.gz", hash = "sha256:9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432"}, ] [package.dependencies] @@ -4101,30 +4101,30 @@ files = [ [[package]] name = "smoldyn" -version = "2.72" +version = "2.73" description = "Python package for the Smoldyn simulator" optional = false python-versions = ">=3.6" files = [ - {file = "smoldyn-2.72-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:bdbcede86832b8dd583e7f413b32b0b3e8242b959d8d688b143549a7cb3b151e"}, - {file = "smoldyn-2.72-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:413affe17e3fb55426ddf68be8e4e415500d751af9a4eab236c61fa01c8378e8"}, - {file = "smoldyn-2.72-cp310-cp310-win_amd64.whl", hash = "sha256:1b614a3bdb6cbe398074704fc104a1e565402fd04b9cf5a1cb5855ded3564396"}, - {file = "smoldyn-2.72-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:1a45fbf5e428a6e9e04dd4aa40474aca70203042957c2703cb7d284665285f3b"}, - {file = "smoldyn-2.72-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d0d0020c6262f80201a76ea28a5f108974de6d9079d96fd59e77cba08d726ce5"}, - {file = "smoldyn-2.72-cp311-cp311-win_amd64.whl", hash = "sha256:680065f2ffe0f6d844bce9deacbf9932f09cd625986863bf22a1a9dac5d411b9"}, - {file = "smoldyn-2.72-cp37-cp37m-macosx_11_0_x86_64.whl", hash = "sha256:71ded9847ba6fd938f91f8c9045fd870417c9d10e143a0eddf8904c4663c2248"}, - {file = "smoldyn-2.72-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b33f6c74c2230a86e1be8ad2c0a1ddde9ee9cced168151b7e29d380eb0c9e68"}, - {file = "smoldyn-2.72-cp37-cp37m-win_amd64.whl", hash = "sha256:883fa49928e9fa91754ae8c6433a57a5f09f8bae2c59c2af17af147bf81425f8"}, - {file = "smoldyn-2.72-cp38-cp38-macosx_11_0_x86_64.whl", hash = "sha256:a510fd915d8b0933eba1658db86c68594cc972edcbe7400537e0a3f072a47e79"}, - {file = "smoldyn-2.72-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c91194441765cbb6a0c7f03ca59007f6b23604f25e631af937fb4194998ea84c"}, - {file = "smoldyn-2.72-cp38-cp38-win_amd64.whl", hash = "sha256:01c82dda3a71bec7553618fe530e13ee7e7bd48c248a4d11c7dc33b76e4650dc"}, - {file = "smoldyn-2.72-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:a877e484002c575c97dde7483d6785308a7819d5a3170bc75ff1b470598ad2a0"}, - {file = "smoldyn-2.72-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ee082991b4fe1947e0743906a3b8d3dc5fd81a779fd0b7962eccdb780b922d7"}, - {file = "smoldyn-2.72-cp39-cp39-win_amd64.whl", hash = "sha256:e00e644610c9795bea62e661ab5bed3bdce3e71f48520b1a9426add8878cb2cd"}, + {file = "smoldyn-2.73-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:071c5370390de1227197e5ae11b36bdfdd52e6595d9937a1a7b98e749aa69978"}, + {file = "smoldyn-2.73-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:28f5ecf0f6c7b615c6dde85fa3a4a9c6798fe0bdbfcfd3f58b8c1eb7294425dc"}, + {file = "smoldyn-2.73-cp310-cp310-win_amd64.whl", hash = "sha256:71bd38fd939ba33288364d6cbd25584ffd5a703eb45b6e55c9b2af4ba3a06369"}, + {file = "smoldyn-2.73-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:61fd0dc7eae106318e958371991d4700e275ff41e20490f6629594e57219ece4"}, + {file = "smoldyn-2.73-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d4c689d8cd847171b0bda9934597dad209921febd47751759b9e22626b5ff10"}, + {file = "smoldyn-2.73-cp311-cp311-win_amd64.whl", hash = "sha256:0d555c56f93c856455ecca33b8759bd3645db56b296ca2b01a3cd45760fb2ae4"}, + {file = "smoldyn-2.73-cp37-cp37m-macosx_11_0_x86_64.whl", hash = "sha256:fbeff85915ed13561b138f574c86a46f05a4f4081d51b9aad63645c594fa3811"}, + {file = "smoldyn-2.73-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37dd581f0f97207b444739b4a75450b65e5d719baebae72d08e750ec751c43f1"}, + {file = "smoldyn-2.73-cp37-cp37m-win_amd64.whl", hash = "sha256:949486b17fd890a99b695171627cd4e67c5102813918c8c6a97b33a9f500d096"}, + {file = "smoldyn-2.73-cp38-cp38-macosx_11_0_x86_64.whl", hash = "sha256:e93df952d09d56af4823bda9b9be297f2c819cf2989806b5b7c5386b76f0adcb"}, + {file = "smoldyn-2.73-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fd90383ddd8d046b7e3dff9a3b46674eaf08c25565c08e57d2e08357dddb2b5"}, + {file = "smoldyn-2.73-cp38-cp38-win_amd64.whl", hash = "sha256:7c9a01285da545034afeb308e5b27cfbaeec2d96b107a4737b782bd7e1715890"}, + {file = "smoldyn-2.73-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:d357b8030166eb06f4b8fe391a6505c07a667774bfb87f06c4480c5ce8f1b348"}, + {file = "smoldyn-2.73-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb284adbb88dafa8691a4ec4d46b5046cbd31539ea2312c793538a09097f5c16"}, + {file = "smoldyn-2.73-cp39-cp39-win_amd64.whl", hash = "sha256:f2163ba361de67ad0a22e624aa13178a8ba5b755866fdc4b56eaad32c56c1602"}, ] [package.extras] -biosimulators = ["biosimulators-utils[logging] (>=0.1.124)", "numpy", "pandas"] +biosimulators = ["biosimulators-simularium (>=0.5.29)", "biosimulators-utils[logging] (>=0.1.124)", "numpy", "pandas"] biosimulators-dev = ["flake8"] biosimulators-tests = ["python-dateutil"] dev = ["black", "flaky", "matplotlib", "mypy", "numpy", "pyflakes"]