# HG changeset patch # User george-weingart # Date 1470933927 14400 # Node ID 1a2f01b31cf33ca6f582a12f2c37b0ad67741bcd # Parent 635acae1c0594f287faf255f6e0e42e263f2465d Updated micropita_prepare.py to use the correct directory diff -r 635acae1c059 -r 1a2f01b31cf3 micropita_prepare.py --- a/micropita_prepare.py Thu Aug 11 11:39:56 2016 -0400 +++ b/micropita_prepare.py Thu Aug 11 12:45:27 2016 -0400 @@ -88,7 +88,7 @@ parser = read_params( sys.argv ) results = parser.parse_args() #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 +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')