# Use new configurations if there was no preconfiguration
# Use new configurations if there was no preconfiguration
ifself.configisNone:
ifself.configisNone:
self._config=TaskConfig(**config)
self._config=TaskConfig.from_yaml(config)
# Overwrite configs
# Overwrite configs
else:
else:
ifconfigisnotNone:
ifconfigisnotNone:
...
@@ -703,6 +708,12 @@ class ConfigurableTask(Task):
...
@@ -703,6 +708,12 @@ class ConfigurableTask(Task):
f'Both target_delimiter "{self.config.target_delimiter}" and target choice: "{choice}" do not have whitespace, ignore if the language you are evaluating on does not require/use whitespace'
f'Both target_delimiter "{self.config.target_delimiter}" and target choice: "{choice}" do not have whitespace, ignore if the language you are evaluating on does not require/use whitespace'