diff --git a/workflow/scripts/parseMeta.py b/workflow/scripts/parseMeta.py
index 6ba068d32f8bffa346cc7f3fb3fa695b08b43272..d2fb8fae73348403032e7509b4a9e67cba30d3b7 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"):