Skip to content

Commit f94b3df

Browse files
committed
updating for renaming obj_model --> obj_tables
1 parent 30a94d6 commit f94b3df

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.circleci/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
git+https://github.com/KarrLab/bpforms.git#egg=bpforms
33
git+https://github.com/KarrLab/wc_utils.git#egg=wc_utils
44
git+https://github.com/KarrLab/wc_onto.git#egg=wc_onto
5-
git+https://github.com/KarrLab/obj_model.git#egg=obj_model
5+
git+https://github.com/KarrLab/obj_tables.git#egg=obj_tables
66
git+https://github.com/KarrLab/wc_lang.git#egg=wc_lang

docs/concepts_skills/software_engineering/distributing_python.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The following example illustrates how to use ``/path/to/package/requirements.txt
5050
numpy
5151
scipy<=1.2
5252
matplotlib==2.3[option]
53-
git+https://github.com/KarrLab/obj_model.git#egg=obj_model
53+
git+https://github.com/KarrLab/obj_tables.git#egg=obj_tables
5454

5555
Packages that should be installed from PyPI should be listed by their names. Packages that should be installed from GitHub should be listed by their GitHub URL.
5656

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ How to install these tutorials
4242
Run the following command to install the latest version from GitHub::
4343

4444
pip install https://github.com/KarrLab/wc_utils.git#egg=wc_utils
45-
pip install https://github.com/KarrLab/obj_model.git#egg=obj_model
45+
pip install https://github.com/KarrLab/obj_tables.git#egg=obj_tables
4646
pip install https://github.com/KarrLab/wc_lang.git#egg=wc_lang
4747
pip install https://github.com/KarrLab/intro_to_wc_modeling.git#egg=intro_to_wc_modeling
4848

docs/wc_modeling/wc_lang_tutorial.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ It can be used to define models of entire cells, or models of smaller biochemica
99
Excel spreadsheet workbooks and sets of delimited files. It also includes methods that
1010
analyze or transform models -- e.g., methods that validate, compare, and normalize them.
1111

12-
``wc_lang`` depends heavily on the ``obj_model`` package which defines a generic language for declaring
12+
``wc_lang`` depends heavily on the ``obj_tables`` package which defines a generic language for declaring
1313
interrelated Python objects, converting them to and from data records,
1414
transferring the records to and from files, and validating their values.
15-
``obj_model`` is essentially an object-relational mapping (ORM) system that stores data in files
15+
``obj_tables`` is essentially an object-relational mapping (ORM) system that stores data in files
1616
instead of databases.
17-
However, users of ``wc_lang`` do not need to use ``obj_model`` directly.
17+
However, users of ``wc_lang`` do not need to use ``obj_tables`` directly.
1818

1919
Semantics of a ``wc_lang`` biochemical Model
2020
----------------------------------------------
@@ -35,11 +35,11 @@ are not represented.
3535

3636
The data in
3737
a ``wc_lang`` model is organized in a highly-interconnected graph of related Python objects, each of
38-
which is an ``obj_model.core.Model`` instance.
38+
which is an ``obj_tables.core.Model`` instance.
3939
For example, a ``Species`` instance contains ``reaction_participants``,
4040
which references each ``Reaction`` in which the ``Species`` participates.
4141
The graph contains many convenience relationships like this, which make it easy to
42-
follow the relationships between ``obj_model.core.Model`` instances anywhere in a ``wc_lang`` model.
42+
follow the relationships between ``obj_tables.core.Model`` instances anywhere in a ``wc_lang`` model.
4343

4444
A ``wc_lang`` model also supports some metadata.
4545
Named ``Parameter`` entities store arbitrary values, such as input parameters.
@@ -55,15 +55,15 @@ including its data sources and comments about model components.
5555
``wc_lang`` Classes Used to Define biochemical Models
5656
------------------------------------------------------
5757

58-
This subsection enumerates the ``obj_model.core.Model`` classes that store data in ``wc_lang`` models.
58+
This subsection enumerates the ``obj_tables.core.Model`` classes that store data in ``wc_lang`` models.
5959

6060
When using an existing model the attributes of these classes are frequently accessed, although
6161
their definitions are not typically imported.
6262
However, they must be imported when they are being instantiated programmatically.
6363

6464
Many of these classes implement the methods ``deserialize()`` and ``serialize()``.
6565
``deserialize()`` parses an object's string representation -- as would be stored in a text file or spreadsheet
66-
representation of a biochemical model -- into one or more ``obj_model.core.Model`` instances.
66+
representation of a biochemical model -- into one or more ``obj_tables.core.Model`` instances.
6767
``serialize()`` performs the reverse, converting a ``wc_lang`` class instance into a string representation.
6868
Thus, the ``deserialize()`` methods are used when reading models from files and ``serialize()``
6969
is used when writing a model to disk.
@@ -359,7 +359,7 @@ and using these models:
359359
``SpeciesType`` instance with two string attributes and a ``model`` attribute that references an
360360
existing model. In addition, this
361361
expression adds the new ``SpeciesType`` to the model's species types, thereby showing
362-
how ``obj_model``'s underlying functionality automatically creates bi-directional references
362+
how ``obj_tables``'s underlying functionality automatically creates bi-directional references
363363
that make it easy to build and navigate ``wc_lang`` models, and making this assertion hold:
364364

365365
.. literalinclude:: ../../intro_to_wc_modeling/wc_modeling/wc_lang_tutorial/core.py
@@ -403,7 +403,7 @@ and using these models:
403403
This simplifies model construction by avoiding creation of unnecessary identifiers for these components.
404404

405405
Similar code can be used to create any part of a model. All ``wc_lang`` objects that are subclassed from
406-
``wc_lang.BaseModel`` (an alias for ``obj_model.core.Model``) can be instantiated in the normal fashion,
406+
``wc_lang.BaseModel`` (an alias for ``obj_tables.core.Model``) can be instantiated in the normal fashion,
407407
as shown for ``Model``, ``Submodel``, ``Compartment``, ``SpeciesType`` and ``Reaction`` above.
408408
Each subclass of ``wc_lang.BaseModel`` contains a ``Meta`` attribute that is a class which
409409
stores meta information about the subclass.
@@ -572,7 +572,7 @@ and using these models:
572572

573573

574574
..
575-
# todo: Furthermore, ``obj_model`` automatically creates reverse references for
575+
# todo: Furthermore, ``obj_tables`` automatically creates reverse references for
576576
reference attributes
577577
578578
..

0 commit comments

Comments
 (0)