Commit 55186d35 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update scripts’ README

parent 3e1741a3
# Scripts for Gepetto
## `doc.py` & `doc.sh`
Gets the projects / namespaces / branches to process from the [Gepetto Dashboard](http://rainboard.laas.fr)
(activate `keep_doc` on the branches you need)
Run them in this order in a cron job to put the last generated doxygen HTML from gepgitlab on
`/net/cetus/data/gepetto/Doc`.
## `release.sh`
`./release.sh <tag> [<package name>]`
......@@ -7,6 +14,8 @@
Creates a signed tag named `v<tag>` and push it.
Also creates `<package name>-<tag>.tar.gz{,.sig}` including submodules.
Can be usefull if you don't have the JRL cmake submodule, otherwise just use `make release VERSION=x.y.z && make dist`
## `video.py`
```
......@@ -33,3 +42,19 @@ optional arguments:
--no-magic
-c, --crop Crop the speaker only from the video
```
## `parse_muscod_logs.py`
```
usage: parse_muscod_logs.py [-h] [-v] filename
Parse muscod's logs to get NDIS, the number of iterations & total computation
time
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
-v, --verbose
```
......@@ -5,7 +5,8 @@ import datetime
import logging
import re
args = argparse.ArgumentParser()
DESC = "Parse muscod's logs to get NDIS, the number of iterations & total computation time"
args = argparse.ArgumentParser(description=DESC)
args.add_argument('filename', type=argparse.FileType('r'))
args.add_argument('-v', '--verbose', action='store_true')
......@@ -14,10 +15,6 @@ logger = logging.getLogger('parse_muscod_logs')
def parse_muscod_logs(filename, verbose):
"""
Parse muscod's logs to get NDIS, the number of iterations & total computation time
"""
ndis = iterations = total = None
logger.setLevel(logging.INFO if verbose else logging.WARNING)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment