Skip to content

Commit

Permalink
Bump version to 1.2.52 with correct routing on mode to handle cases w…
Browse files Browse the repository at this point in the history
…here pfms location has trigger text
  • Loading branch information
rudolphpienaar committed May 9, 2024
1 parent a11b3b8 commit 2359ccc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spleenseg/spleenseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
╚══════╝╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═══╝╚══════╝╚══════╝ ╚═════╝
"""

__version__ = "1.2.50"
__version__ = "1.2.52"
import spleenseg.splparser as spl

description: str = """
Expand Down Expand Up @@ -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()

0 comments on commit 2359ccc

Please sign in to comment.