From f266f5d98564ff87435870cd08f3a53e9f783d74 Mon Sep 17 00:00:00 2001 From: Donald Campbell <125581724+donaldcampbelljr@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:07:26 -0400 Subject: [PATCH] lint --- .pre-commit-config.yaml | 2 +- bedboss/refgenome_validator/refgenomevalidator.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d002747..cd4d08a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Using this mirror lets us use mypyc-compiled black, which is about 2x faster - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.1.1 + rev: 23.3.0 hooks: - id: black # It is recommended to specify the latest version of Python diff --git a/bedboss/refgenome_validator/refgenomevalidator.py b/bedboss/refgenome_validator/refgenomevalidator.py index 4618c6a..5c20e30 100644 --- a/bedboss/refgenome_validator/refgenomevalidator.py +++ b/bedboss/refgenome_validator/refgenomevalidator.py @@ -197,10 +197,10 @@ def determine_compatibility( final_compatibility_list = [] for genome_model in self.genome_models: # First and Second Layer of Compatibility - model_compat_stats[genome_model.genome_alias] = ( - self.compare_chrom_names_lengths( - bed_chrom_info, genome_model.chrom_sizes - ) + model_compat_stats[ + genome_model.genome_alias + ] = self.compare_chrom_names_lengths( + bed_chrom_info, genome_model.chrom_sizes ) # Third Layer is to run IGD but only if layer 1 and layer 2 have passed if (