Skip to content

Commit

Permalink
update README and __main__
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 9, 2014
1 parent 4b79071 commit dc8a11a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README
@@ -1,4 +1,10 @@

- virtualenv
$ git clone gitlab:github/ccsgp_get_started.git
$ cd ccsgp_get_started/
$ init submodule
$ sudo port install py27-virtualenv
$ virtualenv-2.7 env
$ ./pip install -r requirements.txt
- gnuplot.py

./python -m pyana
4 changes: 2 additions & 2 deletions pyana/__main__.py
Expand Up @@ -3,7 +3,7 @@

# parse arguments
parser = argparse.ArgumentParser()
#parser.add_argument("inputDir", help="input file")
parser.add_argument("subname", help="input subdir with txt files")
parser.add_argument("--log", help="show log output", action="store_true")
args = parser.parse_args()
loglevel = 'DEBUG' if args.log else 'WARNING'
Expand All @@ -12,4 +12,4 @@
)

# run analysis
logging.debug( gp_from_txt() )
logging.debug( gp_from_txt(args.subname) )

0 comments on commit dc8a11a

Please sign in to comment.