From 9e860b0598db1becb1448b937105a8ce25f46125 Mon Sep 17 00:00:00 2001 From: Rudolph Pienaar Date: Wed, 8 May 2024 13:33:37 -0600 Subject: [PATCH] Bump version to 1.2.48 with temp dir override --- spleenseg/spleenseg.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spleenseg/spleenseg.py b/spleenseg/spleenseg.py index cbf79ad..903d1ab 100644 --- a/spleenseg/spleenseg.py +++ b/spleenseg/spleenseg.py @@ -46,7 +46,7 @@ ╚══════╝╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═══╝╚══════╝╚══════╝ ╚═════╝ """ -__version__ = "1.2.46" +__version__ = "1.2.48" import spleenseg.splparser as spl description: str = """ @@ -98,7 +98,7 @@ def inputFilesSets_trainValidateFind( """ trainingSpace: list[dict[str, str]] = trainingData_prep(options) trainingSet: list[dict[str, str]] = trainingSpace[: -options.validateSize] - validateSet: list[dict[str, str]] = trainingSpace[-options.validateSize:] + validateSet: list[dict[str, str]] = trainingSpace[-options.validateSize :] return trainingSet, validateSet @@ -222,8 +222,8 @@ def main(options: Namespace, inputdir: Path, outputdir: Path): :param outputdir: directory where to write output files """ - os.environ['TEMP'] = f'{outputdir}/tmp' - os.makedirs(os.environ['TEMP'], exist_ok=True) + os.environ["TEMP"] = f"{outputdir}/tmp" + os.makedirs(os.environ["TEMP"], exist_ok=True) # pudb.set_trace()