From 68f6d83105b745275dc4e53337250582a4aee980 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 12:37:39 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- src/adler/adler.py | 1 - src/adler/utilities/AdlerCLIArguments.py | 1 - src/adler/utilities/readin_utilities.py | 1 - tests/adler/utilities/test_AdlerCLIArguments.py | 1 - tests/adler/utilities/test_readin_utilities.py | 1 - 5 files changed, 5 deletions(-) diff --git a/src/adler/adler.py b/src/adler/adler.py index c95d5d2..b167466 100644 --- a/src/adler/adler.py +++ b/src/adler/adler.py @@ -12,7 +12,6 @@ def runAdler(cli_args): - logger.info("Beginning Adler.") if cli_args.ssObjectId_list: diff --git a/src/adler/utilities/AdlerCLIArguments.py b/src/adler/utilities/AdlerCLIArguments.py index d0950a0..4b741ff 100644 --- a/src/adler/utilities/AdlerCLIArguments.py +++ b/src/adler/utilities/AdlerCLIArguments.py @@ -83,7 +83,6 @@ def _validate_outpath(self): raise ValueError("The output path for the command-line argument --outpath cannot be found.") def _validate_ssObjectId_list(self): - self.ssObjectId_list = os.path.abspath(self.ssObjectId_list) if not os.path.exists(self.ssObjectId_list): diff --git a/src/adler/utilities/readin_utilities.py b/src/adler/utilities/readin_utilities.py index 7251065..b41b4e1 100644 --- a/src/adler/utilities/readin_utilities.py +++ b/src/adler/utilities/readin_utilities.py @@ -4,7 +4,6 @@ def read_in_SSObjectID_file(readin_path): - with open(readin_path) as f: ssoid_list = f.read().splitlines() diff --git a/tests/adler/utilities/test_AdlerCLIArguments.py b/tests/adler/utilities/test_AdlerCLIArguments.py index ba8bcc7..372bc83 100644 --- a/tests/adler/utilities/test_AdlerCLIArguments.py +++ b/tests/adler/utilities/test_AdlerCLIArguments.py @@ -115,7 +115,6 @@ def test_AdlerCLIArguments_badoutput(): def test_AdlerCLIArguments_badlist(): - bad_list_arguments = args( None, "./fake_input/here.txt", diff --git a/tests/adler/utilities/test_readin_utilities.py b/tests/adler/utilities/test_readin_utilities.py index a47311d..14ac3cc 100644 --- a/tests/adler/utilities/test_readin_utilities.py +++ b/tests/adler/utilities/test_readin_utilities.py @@ -4,7 +4,6 @@ def test_read_in_SSObjectID_file(): - from adler.utilities.readin_utilities import read_in_SSObjectID_file good_ssoids = read_in_SSObjectID_file(get_test_data_filepath("test_SSOIDs.txt"))