Mercurial > repos > george-weingart > micropita
comparison micropita_prepare.py @ 3:800220830386
Updated the root_dir parameter
author | george-weingart |
---|---|
date | Tue, 06 May 2014 17:10:32 -0400 |
parents | 31f689324222 |
children | 73ab9bfbeaf1 |
comparison
equal
deleted
inserted
replaced
2:31f689324222 | 3:800220830386 |
---|---|
88 ################################################################################## | 88 ################################################################################## |
89 # Main Program # | 89 # Main Program # |
90 ################################################################################## | 90 ################################################################################## |
91 parser = read_params( sys.argv ) | 91 parser = read_params( sys.argv ) |
92 results = parser.parse_args() | 92 results = parser.parse_args() |
93 root_dir = os.environ.get('micropita_SCRIPT_PATH') | |
94 | |
93 | 95 |
94 fname = results.inputname | 96 fname = results.inputname |
95 input_file = open(fname,'rU') | 97 input_file = open(fname,'rU') |
96 input_lines = input_file.readlines() | 98 input_lines = input_file.readlines() |
97 input_file.close() | 99 input_file.close() |