ctest correction to previous commit
[unres.git] / ctest / matplotlib_fit_hist.py
index 8601325..5a9bf37 100755 (executable)
@@ -17,7 +17,7 @@ def prob_T(x,a):
 #x,y= np.loadtxt('1L2Y_L_GB000.stat',usecols=(0,10),skiprows=30,unpack=True)
 #x,y= np.loadtxt('1L2Y_NH_GB000.stat',usecols=(0,11),skiprows=10000,unpack=True)
 #x,y= np.loadtxt('1L2Y_B_GB000.stat',usecols=(0,10),skiprows=30,unpack=True)
-if (sys.argv[1] == '1L2Y_NH_GB000.stat'):
+if (sys.argv[1] == '1L2Y_NH_GB000.stat' or sys.argv[1] == '1L2Y_NH_GB.stat'):
  x,y= np.loadtxt(sys.argv[1],usecols=(0,11),skiprows=10000,unpack=True)
 else: 
  x,y= np.loadtxt(sys.argv[1],usecols=(0,10),skiprows=10000,unpack=True)