Jpp 21.0.0
the software that should make you happy
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1"""
2This file will be invoked by python when called with th `-m` options:
3```
4python -m km3net_testdata offline/km3net_offline.root
5```
6"""
7import argparse
8from . import data_path
9
10if __name__ == "__main__":
11 description = "Expand a testing dataset path to a full path."
12 parser = argparse.ArgumentParser(prog="km3net_testdata")
13 parser.add_argument("file_path", help="path to expand", type=str)
14 args = parser.parse_args()
15
16 path = data_path(args.file_path)
17 print(path)
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.