diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-10-20 13:35:09 -0500 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-10-20 13:35:09 -0500 |
| commit | 55254efd9c160189ba7dacaa7492e3eaaaf3dd8a (patch) | |
| tree | f6b7cf9296cd7115b63345c8b000850bcba1851b /sens.py | |
| parent | 0a9dd1a00e0ed2801b2c1a3549ed64e1444a6832 (diff) | |
| download | GolemFlavor-55254efd9c160189ba7dacaa7492e3eaaaf3dd8a.tar.gz GolemFlavor-55254efd9c160189ba7dacaa7492e3eaaaf3dd8a.zip | |
finish thesis plots
Diffstat (limited to 'sens.py')
| -rwxr-xr-x | sens.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -227,6 +227,16 @@ def main(): else: continue print '|||| SCALE = {0:.0E}'.format(np.power(10, scale)) + if not args.overwrite and os.path.isfile(outfile+'.npy'): + print 'FILE EXISTS {0}'.format(outfile+'.npy') + t = np.load(outfile+'.npy') + if np.any(~np.isfinite(t)): + print 'nan found, rerunning...' + pass + else: + print 'Exiting...' + return + # Lower scale boundary for first (NULL) point and set the scale param. reset_range = None if scale < scale_prm.ranges[0]: |
