Skip to content
Snippets Groups Projects
Commit 400479f5 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add main

parent a3bdbbee
No related branches found
No related tags found
No related merge requests found
"""
This file will be invoked by python when called with th `-m` options:
```
python -m skhep_testdata cms_hep_2012_tutorial/data.root
```
"""
from __future__ import print_function
import argparse
from . import data_path
if __name__ == "__main__":
description = "Expand a testing dataset path to a full path."
parser = argparse.ArgumentParser(prog="km3net_testdata")
parser.add_argument("file_path", help="path to expand", type=str)
args = parser.parse_args()
path = data_path(args.file_path)
print(path)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment