From c0f70929e54b04d974a128168487ba99329d5132 Mon Sep 17 00:00:00 2001 From: Arnaldo Russo Date: Wed, 4 Mar 2015 16:54:17 -0300 Subject: [PATCH] change the limit of pulses on Light Curves (from 16 to 10) --- PyPAM/parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PyPAM/parse.py b/PyPAM/parse.py index e1ae027..9f60d25 100644 --- a/PyPAM/parse.py +++ b/PyPAM/parse.py @@ -185,12 +185,12 @@ def raw_extract(arq): # FIXME Insert some functionalities to exclude # duplicate measures - curves = [l for l in dicts[1:] if len(l['No']) >= 16] + curves = [l for l in dicts[1:] if len(l['No']) >= 10] pulses = [] for k in dicts[1:]: if k['No']: - if len(k['No']) < 16: + if len(k['No']) < 10: if len(k['No']) <= 7: pulses.append(k)