From 70ce7af106f02d335d5eae8b0a10aa4aa486d267 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Sun, 19 Jan 2020 01:27:18 -0600
Subject: [PATCH] Fix fastq # test

---
 workflow/scripts/parseMeta.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflow/scripts/parseMeta.py b/workflow/scripts/parseMeta.py
index 825a379..6ba068d 100644
--- a/workflow/scripts/parseMeta.py
+++ b/workflow/scripts/parseMeta.py
@@ -25,7 +25,7 @@ def main():
         else:
             rep=metaFile["Replicate_RID"].unique()[0]
             print(rep)
-        if (len(metaFile[metaFile["File_Type"] == "FastQ"].all()) > 2):
+        if (len(metaFile[metaFile["File_Type"] == "FastQ"]) > 2):
             print("There are more then 2 fastq's in the metadata: " + " ".join(metaFile[metaFile["File_Type"] == "FastQ"].RID))
             exit(1)
     if (args.parameter == "ends"):
-- 
GitLab