From e7eaeaa4add418bc89f58f82ec14cfe79cdf767f Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Sun, 19 Jan 2020 01:39:36 -0600
Subject: [PATCH] Fix endsManual

---
 workflow/scripts/parseMeta.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflow/scripts/parseMeta.py b/workflow/scripts/parseMeta.py
index 6ba068d..d2fb8fa 100644
--- a/workflow/scripts/parseMeta.py
+++ b/workflow/scripts/parseMeta.py
@@ -37,9 +37,9 @@ def main():
             ends = "uk"
         print(ends)
     if (args.parameter == "endsManual"):
-        if (len(metaFile[metaFile["File_Type"] == "FastQ"].all()) == 1):
+        if (len(metaFile[metaFile["File_Type"] == "FastQ"]) == 1):
             endsManual = "se"
-        elif (len(metaFile[metaFile["File_Type"] == "FastQ"].all()) == 2):
+        elif (len(metaFile[metaFile["File_Type"] == "FastQ"]) == 2):
             endsManual = "pe"
         print(endsManual)
     if (args.parameter == "stranded"):
-- 
GitLab