# HG changeset patch # User george-weingart # Date 1470889132 14400 # Node ID a40a7a8c28d27afa8aaf0e363961cffdb768d785 # Parent 1c68d3eb42fd9826a4959fe12a2fbc434c614139 Modified the location of the root directory diff -r 1c68d3eb42fd -r a40a7a8c28d2 micropita_prepare.py --- a/micropita_prepare.py Sat Apr 23 11:08:58 2016 -0400 +++ b/micropita_prepare.py Thu Aug 11 00:18:52 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 = 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 fname = results.inputname input_file = open(fname,'rU')