From ab153ad580e5e409c956b5a1ad9ba5b98f1f49a7 Mon Sep 17 00:00:00 2001 From: xeon27 Date: Sat, 16 Mar 2024 00:06:16 -0400 Subject: [PATCH] Minor fix (pylint) --- kronfluence/computer/covariance_computer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kronfluence/computer/covariance_computer.py b/kronfluence/computer/covariance_computer.py index 8dfaa1d..8eeda6b 100644 --- a/kronfluence/computer/covariance_computer.py +++ b/kronfluence/computer/covariance_computer.py @@ -298,10 +298,10 @@ def aggregate_covariance_matrices( data_partition_size = factor_args.covariance_data_partition_size module_partition_size = factor_args.covariance_module_partition_size all_required_partitions = [(i, j) for i in range(data_partition_size) for j in range(module_partition_size)] - all_partition_exists = all([ + all_partition_exists = all( covariance_matrices_exist(output_dir=factors_output_dir, partition=partition) for partition in all_required_partitions - ]) + ) if not all_partition_exists: self.logger.info( "Covariance matrices are not aggregated as covariance matrices for some partitions "