Skip to content

Commit

Permalink
fixing docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Jul 31, 2024
1 parent 33843f8 commit 6292130
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions btlib/src/btlib/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,14 @@ def read_log_fbl(fname: str,
"""
Read log file and return values per node.
Args:
----
fname: File name
g: Graph
Parameters:
fname: Log file name
g: Graph representing the behavior tree
Returns:
-------
values_count: How often a node was executed
values_success: How often a node was successful (positive value) vs
failed (negative value)
values_count: How often a node was executed
values_success: How often a node was successful (positive value) vs
failed (negative value)
"""
with open(fname, 'rb') as file_b:
buf = bytearray(file_b.read())
Expand Down

0 comments on commit 6292130

Please sign in to comment.