Mercurial > repos > george-weingart > micropita
changeset 21:1923f2a7e737 draft
Uploaded
author | george-weingart |
---|---|
date | Thu, 11 Aug 2016 01:37:35 -0400 |
parents | a2e1a3c2bf9a |
children | 8622858cc55f |
files | micropita_prepare.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/micropita_prepare.py Thu Aug 11 01:36:40 2016 -0400 +++ b/micropita_prepare.py Thu Aug 11 01:37:35 2016 -0400 @@ -87,8 +87,8 @@ ################################################################################## parser = read_params( sys.argv ) results = parser.parse_args() -#root_dir = os.environ.get('micropita_SCRIPT_PATH') -root_dir = root_dir = os.path.dirname(os.path.realpath(__file__)) #Find the current directory where the program resides GW 20160810 +root_dir = os.environ.get('micropita_SCRIPT_PATH') #Using this +#root_dir = root_dir = os.path.dirname(os.path.realpath(__file__)) #Find the current directory where the program resides GW 20160810 fname = results.inputname input_file = open(fname,'rU')