diff --git a/command_line/cadbiom_cmd/cadbiom_cmd.py b/command_line/cadbiom_cmd/cadbiom_cmd.py index e8560c2df2978c432687ed193663edf207de7c60..8380197fb048284b6f2bf8a547549e48933f42b5 100644 --- a/command_line/cadbiom_cmd/cadbiom_cmd.py +++ b/command_line/cadbiom_cmd/cadbiom_cmd.py @@ -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 every solution in complete MAC files (*mac_complete files). + trajectories for each 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. diff --git a/command_line/cadbiom_cmd/solution_sort.py b/command_line/cadbiom_cmd/solution_sort.py index 30c5fc2f1641234ca293b857513d6f572cbbc73f..1f1dffae29f89c28c5f30010206e4a79c694141b 100644 --- a/command_line/cadbiom_cmd/solution_sort.py +++ b/command_line/cadbiom_cmd/solution_sort.py @@ -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 every solution in complete MAC files (\*mac_complete files). + trajectories for each 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.