# HG changeset patch # User george-weingart # Date 1470929796 14400 # Node ID 01ed8a261f0921335cf5c3a30c0c7a7c7c1bab87 # Parent 8622858cc55fdd801c5233e2ff258bfb11d6e2ed Use the current directory diff -r 8622858cc55f -r 01ed8a261f09 micropita_prepare.py --- a/micropita_prepare.py Thu Aug 11 01:38:11 2016 -0400 +++ b/micropita_prepare.py Thu Aug 11 11:36:36 2016 -0400 @@ -87,8 +87,8 @@ ################################################################################## 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.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')