Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
6306fd99
Commit
6306fd99
authored
Dec 06, 2019
by
VIGNET Pierre
Browse files
[cmd] Fix typos in docstrings
parent
81527c2d
Changes
2
Show whitespace changes
Inline
Side-by-side
command_line/cadbiom_cmd/cadbiom_cmd.py
View file @
6306fd99
...
@@ -38,6 +38,7 @@ LOGGER = cm.logger()
...
@@ -38,6 +38,7 @@ LOGGER = cm.logger()
def
check_output_dir
(
function
):
def
check_output_dir
(
function
):
"""Decorator used process some arguments from argparse"""
"""Decorator used process some arguments from argparse"""
# Expose the docstring of the wrapped function instead of that of the decorator
@
wraps
(
function
)
@
wraps
(
function
)
def
modified_func
(
*
args
,
**
kwargs
):
def
modified_func
(
*
args
,
**
kwargs
):
"""Fix paths in arguments (add trailing '/')"""
"""Fix paths in arguments (add trailing '/')"""
...
@@ -79,7 +80,7 @@ def solutions_sort(args):
...
@@ -79,7 +80,7 @@ def solutions_sort(args):
@
check_output_dir
@
check_output_dir
def
solutions_2_graphs
(
args
):
def
solutions_2_graphs
(
args
):
"""Create GraphML formated files containing a representation of the
"""Create GraphML formated files containing a representation of the
trajectories for e
very
solution in complete MAC files (*mac_complete files).
trajectories for e
ach
solution in complete MAC files (*mac_complete files).
This is a function to visualize paths taken by the solver from the boundaries
This is a function to visualize paths taken by the solver from the boundaries
to the entities of interest.
to the entities of interest.
...
@@ -135,8 +136,9 @@ def json_2_interaction_graph(args):
...
@@ -135,8 +136,9 @@ def json_2_interaction_graph(args):
@
check_output_dir
@
check_output_dir
def
solutions_2_common_graph
(
args
):
def
solutions_2_common_graph
(
args
):
"""Create a GraphML formated file containing a representation of **all**
"""Create a GraphML formated file containing a unique representation of **all**
trajectories for **all** solutions in complete MAC files (*mac_complete files).
trajectories corresponding to all solutions in each complete MAC files
(*mac_complete files).
This is a function to visualize paths taken by the solver from the boundaries
This is a function to visualize paths taken by the solver from the boundaries
to the entities of interest.
to the entities of interest.
...
...
command_line/cadbiom_cmd/solution_sort.py
View file @
6306fd99
...
@@ -226,7 +226,7 @@ def solutions_2_graphs(output_dir, model_file, path):
...
@@ -226,7 +226,7 @@ def solutions_2_graphs(output_dir, model_file, path):
"""Entry point for solutions_2_graphs
"""Entry point for solutions_2_graphs
Create GraphML formated files containing a representation of the
Create GraphML formated files containing a representation of the
trajectories for e
very
solution in complete MAC files (\*mac_complete files).
trajectories for e
ach
solution in complete MAC files (\*mac_complete files).
This is a function to visualize paths taken by the solver from the boundaries
This is a function to visualize paths taken by the solver from the boundaries
to the entities of interest.
to the entities of interest.
...
@@ -321,8 +321,9 @@ def convert_solution_file_to_graphs(output_dir, sol_steps, transitions):
...
@@ -321,8 +321,9 @@ def convert_solution_file_to_graphs(output_dir, sol_steps, transitions):
def
solutions_2_common_graph
(
output_dir
,
model_file
,
path
):
def
solutions_2_common_graph
(
output_dir
,
model_file
,
path
):
"""Entry point for solutions_2_common_graph
"""Entry point for solutions_2_common_graph
Create a GraphML formated file containing a representation of **all**
Create a GraphML formated file containing a unique representation of **all**
trajectories for **all** solutions in complete MAC files (\*mac_complete files).
trajectories corresponding to all solutions in each complete MAC files
(*mac_complete files).
This is a function to visualize paths taken by the solver from the boundaries
This is a function to visualize paths taken by the solver from the boundaries
to the entities of interest.
to the entities of interest.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment