Commit c33c6cf3 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[cmd] Rename module solution_repr to models: more consistent with the content

parent 68329bef
......@@ -176,8 +176,8 @@ def model_identifier_mapping(args):
"""
# Module import
import solution_repr
solution_repr.model_identifier_mapping(**args)
import models
models.model_identifier_mapping(**args)
@check_output_dir
......@@ -189,8 +189,8 @@ def model_comparison(args):
"""
# Module import
import solution_repr
solution_repr.graph_isomorph_test(
import models
models.graph_isomorph_test(
args['model_file_1'],
args['model_file_2'],
args['output'],
......@@ -206,8 +206,8 @@ def model_info(args):
"""
# Module import
import solution_repr
solution_repr.model_info(**args)
import models
models.model_info(**args)
@check_output_dir
......@@ -219,8 +219,8 @@ def model_graph(args):
"""
# Module import
import solution_repr
solution_repr.model_graph(**args)
import models
models.model_graph(**args)
@check_output_dir
......
......@@ -250,7 +250,7 @@ def graph_isomorph_test(model_file_1, model_file_2, output_dir='graphs/',
.. code-block:: python
>>> from cadbiom_cmd.solution_repr import graph_isomorph_test
>>> from cadbiom_cmd.models import graph_isomorph_test
>>> print(graph_isomorph_test('model_1.bcx', 'model_2.bcx'))
INFO: 3 transitions loaded
INFO: 3 transitions loaded
......@@ -338,7 +338,7 @@ def graph_isomorph_test(model_file_1, model_file_2, output_dir='graphs/',
def low_graph_info(model_file, centralities):
"""Low level function for :meth:`~cadbiom_cmd.solution_repr.model_graph`.
"""Low level function for :meth:`~cadbiom_cmd.models.model_graph`.
Get JSON data with information about the graph based on the model.
......@@ -428,7 +428,7 @@ def low_graph_info(model_file, centralities):
def low_model_info(model_file,
all_entities=False, boundaries=False, genes=False, smallmolecules=False):
"""Low level function for :meth:`~cadbiom_cmd.solution_repr.model_info`.
"""Low level function for :meth:`~cadbiom_cmd.models.model_info`.
Get JSON data with information about the model and its entities.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment