# HG changeset patch # User george-weingart # Date 1472577034 14400 # Node ID b4cf8c75305b82c0df56f06756325f72d13145ce # Parent cdef6996e3f3d29ad1e7b45de8dc100897f6585a Pointing to the right root directory diff -r cdef6996e3f3 -r b4cf8c75305b micropita_prepare.py --- a/micropita_prepare.py Tue Aug 30 13:03:02 2016 -0400 +++ b/micropita_prepare.py Tue Aug 30 13:10:34 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 = 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')