diff --git a/src/vip_client/__init__.py b/src/vip_client/__init__.py index 001596c..a86b1fd 100644 --- a/src/vip_client/__init__.py +++ b/src/vip_client/__init__.py @@ -8,7 +8,7 @@ """ # Informations -__version__ = "0.1.4" +__version__ = "0.1.6a1" __license__ = "CECILL-B" from vip_client.classes import VipSession diff --git a/src/vip_client/classes/VipLauncher.py b/src/vip_client/classes/VipLauncher.py index 345e763..dc63315 100644 --- a/src/vip_client/classes/VipLauncher.py +++ b/src/vip_client/classes/VipLauncher.py @@ -1605,7 +1605,7 @@ def _check_invalid_input(self, input_settings: dict, parameters_ref=None): for param in parameters_ref: # Get parameter name name = param['name'] - # Skip irrelevant inputs (this should not happen after self._check_input_keys()) + # Check only defined inputs if name not in input_settings: continue # Get input value @@ -1643,6 +1643,9 @@ def _check_input_values(self, input_settings: dict, location: str) -> None: wrong_type_inputs = [] for param in self._pipeline_def['parameters']: name = param['name'] + # Check only defined inputs + if name not in input_settings: + continue value = input_settings.get(name) # If input is a File, check file(s) existence if param["type"] == "File":