From d372838ae993bfcc51f59569ca033d12d2b6fabb Mon Sep 17 00:00:00 2001 From: Spokhim Date: Mon, 15 Feb 2021 00:58:46 +1100 Subject: [PATCH] Bug splatting --- Je_Bif_Checker.py | 5 ++++- single-yossarian.csh | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Je_Bif_Checker.py b/Je_Bif_Checker.py index 54174fa..5751f6d 100644 --- a/Je_Bif_Checker.py +++ b/Je_Bif_Checker.py @@ -30,9 +30,11 @@ #matplotlib.rcParams['figure.figsize'] = (10.0, 5.0) # Get all the file names. -TseriesFile = glob.glob(r"do-not-track\\2020_12_26\\LCycle*Tseries*.csv") +TseriesFile = glob.glob(os.getcwd() + "/do-not-track/2020_12_26/LCycle*Tseries*.csv") #TseriesFile = glob.glob(r"D:\\Simulations\\2020_09_23\\LCycle*Tseries*.csv") +print(TseriesFile) + # Import SCM, don't worry about re-ordering. Needed to Calculate J_e # Empty dict @@ -69,6 +71,7 @@ # Obtain Parameter Values x = re.findall("\[(.*)\].*\[(.*)\]",string) Params.append(x[0]) + print(x) # Get G_value G_value = float(x[0][0]) diff --git a/single-yossarian.csh b/single-yossarian.csh index 1840881..a735d69 100644 --- a/single-yossarian.csh +++ b/single-yossarian.csh @@ -20,6 +20,5 @@ source ~/TVB/bin/activate.csh # Working directory is where I ran qsub cd "$PBS_O_WORKDIR" -#python Single_sim.py -python Je_Bif_Checker.py -exit \ No newline at end of file +python Je_Bif_Checker.py +exit \ No newline at end of file