diff options
author | Frederick Muriuki Muriithi | 2024-01-15 18:40:20 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-15 18:40:20 +0300 |
commit | b7942002b2f40af965bd0ef9c9673fbaeb28a9e1 (patch) | |
tree | 4044d9b18579eb85f75e7457e70b2f7d0aa1fbdc /scripts/qc.py | |
parent | 9b51f59bc4b598c1136525300af5f696bcf66fc0 (diff) | |
download | gn-uploader-b7942002b2f40af965bd0ef9c9673fbaeb28a9e1.tar.gz |
Update imports: `take` was moved to different package.
Diffstat (limited to 'scripts/qc.py')
-rw-r--r-- | scripts/qc.py | 8 |
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: |