Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
693696c7
Commit
693696c7
authored
1 year ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation to reformat_log()
parent
86234de0
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/scripts/pycompare.py
+7
-1
7 additions, 1 deletion
src/scripts/pycompare.py
with
7 additions
and
1 deletion
src/scripts/pycompare.py
+
7
−
1
View file @
693696c7
#!/bin/python
#!/bin/python
3
## @package pycompare
# \brief Script to perform output consistency tests
...
...
@@ -15,6 +15,8 @@
# error-level inconsistencies were found, or 1 otherwise. This can be used by
# subsequent system calls to set up a testing suite checking whether the code
# is able to reproduce legacy results.
#
# The script execution requires python3.
import
re
...
...
@@ -376,6 +378,10 @@ def print_help():
## \brief Add summary information to the HTML log file
#
# In the case when a HTML log is requested, it is useful to obtain an overview
# of the detected inconsistencies. This function undertakes the task of adding
# a summary of the error, warning and noise counts on top of the log.
#
# \param config: `dict` A dictionary containing the script configuration.
# \param errors: `int` The number of errors detected by the comparison.
# \param warnings: `int` The number of warnings detected by the comparison.
...
...
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