diff --git a/app/config.py b/app/config.py index 10668e0..fc35d5c 100644 --- a/app/config.py +++ b/app/config.py @@ -3,7 +3,7 @@ class Settings(BaseSettings): pflink_mongodb: MongoDsn = 'mongodb://localhost:27017' - version: str = "4.0.4" + version: str = "4.0.5" mongo_username: str = "admin" mongo_password: str = "admin" log_level: str = "DEBUG" diff --git a/app/controllers/subprocesses/wf_manager.py b/app/controllers/subprocesses/wf_manager.py index 46b854a..c0ba8ff 100644 --- a/app/controllers/subprocesses/wf_manager.py +++ b/app/controllers/subprocesses/wf_manager.py @@ -173,7 +173,7 @@ def create_analysis(self, key: str): 6) Create a new instance of the plugin or pipeline with the previous `dircopy` instance """ # if PACS files registering is in progress, do nothing and exit - if not self.__workflow.response.state_progress == "100%": + if not self.__workflow.response.state_progress == "100%" and self.__workflow.feed_requested: return logger.info(f"Creating new analysis.", extra=d)