diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genotypes/preprocess_csv_collect_info.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/genotypes/preprocess_csv_collect_info.py b/scripts/genotypes/preprocess_csv_collect_info.py index 6b3b574..f8cdeed 100644 --- a/scripts/genotypes/preprocess_csv_collect_info.py +++ b/scripts/genotypes/preprocess_csv_collect_info.py @@ -323,7 +323,6 @@ def file_stats_multiprocessing( chunk_size: int = MULTIPROCESSING_CHUNK_SIZE ) -> FileStats: """File stats from the lines in the file using multiple processes.""" - logger.debug("THE FILE HEADERS: %s", headers) with mproc.Pool(max(1, mproc.cpu_count() - 1)) as pool: chunks = ((headers, fileconfigs, chunk) for chunk in _read_chunks(lines, chunk_size)) @@ -365,6 +364,7 @@ def compute_statistics(filepath: Path, fileconfigs: dict) -> FileStats: lambda line: (is_blank_line(line) or is_comment_line(line) or is_dot_geno_line(line))) + logger.debug("THE FILE HEADERS: %s", headers) basic_stats = os.stat(filepath) lines = read_text_file(filepath) return (file_stats_multiprocessing(fileconfigs, headers, lines) @@ -388,7 +388,6 @@ def file_stats_singlethread( lines: Iterable[str] ) -> FileStats: """File stats from the lines in the file using a single-threaded process.""" - logger.debug("THE FILE HEADERS: %s", headers) return _as_file_stats( _accumulate(headers, fileconfigs, lines), identify_columns(headers, fileconfigs).samples, |
