From 78cee8cc131477fe75df069113894869cde5cb5b Mon Sep 17 00:00:00 2001 From: Amirhossein Afshinfard <31241012+aafshinfard@users.noreply.github.com> Date: Mon, 4 Jul 2022 20:18:16 -0700 Subject: [PATCH] Update physlr.py (#179) --- physlr/physlr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/physlr/physlr.py b/physlr/physlr.py index 9c966a1f..a5a6bb35 100644 --- a/physlr/physlr.py +++ b/physlr/physlr.py @@ -2694,6 +2694,7 @@ def physlr_find_ntcard_mode(self): # Assumption: There is no negative slope to the right of the first local minimum freq_count = [int(line.rstrip().split("\t")[2]) for line in open(self.args.FILES[0]) if line[0] != "k"] + min_idx = 0 min_val = freq_count[0] for idx, freq in enumerate(freq_count): if freq > min_val: