aboutsummaryrefslogtreecommitdiff
path: root/scripts/qc.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-15 18:40:20 +0300
committerFrederick Muriuki Muriithi2024-01-15 18:40:20 +0300
commitb7942002b2f40af965bd0ef9c9673fbaeb28a9e1 (patch)
tree4044d9b18579eb85f75e7457e70b2f7d0aa1fbdc /scripts/qc.py
parent9b51f59bc4b598c1136525300af5f696bcf66fc0 (diff)
downloadgn-uploader-b7942002b2f40af965bd0ef9c9673fbaeb28a9e1.tar.gz
Update imports: `take` was moved to different package.
Diffstat (limited to 'scripts/qc.py')
-rw-r--r--scripts/qc.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/qc.py b/scripts/qc.py
index 2057cd6..7d41d6c 100644
--- a/scripts/qc.py
+++ b/scripts/qc.py
@@ -5,13 +5,11 @@ import argparse
import mimetypes
from typing import Union, Callable
+from functional_tools import take
+
from quality_control.utils import make_progress_calculator
from quality_control.errors import InvalidValue, DuplicateHeading
-from quality_control.parsing import (
- take,
- FileType,
- strain_names,
- collect_errors)
+from quality_control.parsing import FileType, strain_names, collect_errors
def is_file_mime(filepath:str, mimetype:str) -> bool: