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()