From dc249f67bd2e7d955dde68639681a0aced6b01ce Mon Sep 17 00:00:00 2001 From: rabii-chaarani Date: Fri, 17 May 2024 05:19:16 +0000 Subject: [PATCH] style: style fixes by ruff and autoformatting by black --- FoldOptLib/input/input_data_checker.py | 3 ++- FoldOptLib/utils/utils.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FoldOptLib/input/input_data_checker.py b/FoldOptLib/input/input_data_checker.py index 17e4402..8d1834b 100644 --- a/FoldOptLib/input/input_data_checker.py +++ b/FoldOptLib/input/input_data_checker.py @@ -1,4 +1,4 @@ -import pandas +import pandas class CheckInputData: @@ -10,6 +10,7 @@ class CheckInputData: __call__ (folded_foliation_data: pandas.DataFrame) -> None Checks if the foliation data is a pandas dataframe and has the correct columns. """ + def __call__(self, folded_foliation_data: pandas.DataFrame): """ Check the foliation data is a pandas dataframe and has the correct columns: X, Y, Z, feature_name and diff --git a/FoldOptLib/utils/utils.py b/FoldOptLib/utils/utils.py index 69aacbe..5fceb31 100644 --- a/FoldOptLib/utils/utils.py +++ b/FoldOptLib/utils/utils.py @@ -362,6 +362,7 @@ def create_dataset( return dataset + def get_wavelength_guesses(guess, size): rng = numpy.random.default_rng()