Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cadbiom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIGNET Pierre
cadbiom
Commits
6306fd99
Commit
6306fd99
authored
5 years ago
by
VIGNET Pierre
Browse files
Options
Downloads
Patches
Plain Diff
[cmd] Fix typos in docstrings
parent
81527c2d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
command_line/cadbiom_cmd/cadbiom_cmd.py
+5
-3
5 additions, 3 deletions
command_line/cadbiom_cmd/cadbiom_cmd.py
command_line/cadbiom_cmd/solution_sort.py
+4
-3
4 additions, 3 deletions
command_line/cadbiom_cmd/solution_sort.py
with
9 additions
and
6 deletions
command_line/cadbiom_cmd/cadbiom_cmd.py
+
5
−
3
View file @
6306fd99
...
...
@@ -38,6 +38,7 @@ LOGGER = cm.logger()
def
check_output_dir
(
function
):
"""
Decorator used process some arguments from argparse
"""
# Expose the docstring of the wrapped function instead of that of the decorator
@wraps
(
function
)
def
modified_func
(
*
args
,
**
kwargs
):
"""
Fix paths in arguments (add trailing
'
/
'
)
"""
...
...
@@ -79,7 +80,7 @@ def solutions_sort(args):
@check_output_dir
def
solutions_2_graphs
(
args
):
"""
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
to the entities of interest.
...
...
@@ -135,8 +136,9 @@ def json_2_interaction_graph(args):
@check_output_dir
def
solutions_2_common_graph
(
args
):
"""
Create a GraphML formated file containing a representation of **all**
trajectories for **all** solutions in complete MAC files (*mac_complete files).
"""
Create a GraphML formated file containing a unique representation of **all**
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
to the entities of interest.
...
...
This diff is collapsed.
Click to expand it.
command_line/cadbiom_cmd/solution_sort.py
+
4
−
3
View file @
6306fd99
...
...
@@ -226,7 +226,7 @@ def solutions_2_graphs(output_dir, model_file, path):
"""
Entry point for solutions_2_graphs
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
to the entities of interest.
...
...
@@ -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
):
"""
Entry point for solutions_2_common_graph
Create a GraphML formated file containing a representation of **all**
trajectories for **all** solutions in complete MAC files (\*mac_complete files).
Create a GraphML formated file containing a unique representation of **all**
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
to the entities of interest.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment