From aa076854967b0d542d30e525bc1d2a55d0370869 Mon Sep 17 00:00:00 2001 From: Yoann Dufresne <yoann.dufresne0@gmail.com> Date: Thu, 14 Mar 2019 16:04:31 +0100 Subject: [PATCH] bugfix: ligh-print --- evaluate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluate.py b/evaluate.py index 7c77fee..39d510d 100755 --- a/evaluate.py +++ b/evaluate.py @@ -113,7 +113,7 @@ def print_summary(frequencies, neighborhood, light_print=False, file_pointer=sys if len(neighborhood[node]) != 2: neighborhood_ok = False - if light_print and (obs==the or not neighborhood_ok): + if light_print and obs==the and neighborhood_ok: continue print(result, file=file_pointer) -- GitLab