# HG changeset patch # User george-weingart # Date 1470893855 14400 # Node ID 1923f2a7e737281a0e6b81f2f2c13730c6f4dfa2 # Parent a2e1a3c2bf9aeec5e9548ed8fe3e67fc73b48ba2 Uploaded diff -r a2e1a3c2bf9a -r 1923f2a7e737 micropita_prepare.py --- 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')