From 2359ccce3abf44ec35edc905869938699af633db Mon Sep 17 00:00:00 2001 From: Rudolph Pienaar Date: Thu, 9 May 2024 00:45:12 -0600 Subject: [PATCH] Bump version to 1.2.52 with correct routing on mode to handle cases where pfms location has trigger text --- spleenseg/spleenseg.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spleenseg/spleenseg.py b/spleenseg/spleenseg.py index 678a5c2..5411b30 100644 --- a/spleenseg/spleenseg.py +++ b/spleenseg/spleenseg.py @@ -46,7 +46,7 @@ ╚══════╝╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═══╝╚══════╝╚══════╝ ╚═════╝ """ -__version__ = "1.2.50" +__version__ = "1.2.52" import spleenseg.splparser as spl description: str = """ @@ -235,15 +235,15 @@ def main(options: Namespace, inputdir: Path, outputdir: Path): env_outputDirsMake(options) neuralNet: neuralnet.NeuralNet = neuralnet.NeuralNet(options) - if "training" in options.mode: + if "http" in options.mode: + inference_pfmsDo(neuralNet, options) + + elif "training" in options.mode: training_do(neuralNet, options) - if "inference" in options.mode: + elif "inference" in options.mode: inference_do(neuralNet, options) - if "http" in options.mode: - inference_pfmsDo(neuralNet, options) - if __name__ == "__main__": main()