From a79bca7428ae2bb590706bf3522b6b07dc4cba4c Mon Sep 17 00:00:00 2001
From: "Mads M. Pedersen" <mmpe@dtu.dk>
Date: Thu, 4 May 2017 12:51:11 +0200
Subject: [PATCH] and now the change is saved in committed file

---
 wetb/hawc2/st_file.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wetb/hawc2/st_file.py b/wetb/hawc2/st_file.py
index b739bc97..7859144f 100644
--- a/wetb/hawc2/st_file.py
+++ b/wetb/hawc2/st_file.py
@@ -68,9 +68,9 @@ class StFile(object):
     def __init__(self, filename):
         with open (filename) as fid:
             txt = fid.read()
-#         Some files sat
-        no_maindata_sets = int(txt.strip()[0]) 
-        assert no_maindata_sets == txt.count("#")
+#         Some files starts with first set ("#1...") with out specifying number of sets
+#         no_maindata_sets = int(txt.strip()[0]) 
+#         assert no_maindata_sets == txt.count("#")
         self.main_data_sets = {}
         for mset in txt.split("#")[1:]:
             mset_nr = int(mset.strip().split()[0])
-- 
GitLab