Commit 57bce8af authored by Gerald Salin's avatar Gerald Salin
Browse files

#47 : prefix of component not set

parent d5fe4a1b
......@@ -50,14 +50,14 @@ class BasicNG6Workflow (Workflow):
# build the object and define required field
cmpt_object = getattr(my_pckge, component_name)()
cmpt_object.output_directory = self.get_component_output_directory(component_name, component_prefix)
cmpt_object.prefix = component_prefix
cmpt_object.set_prefix(component_prefix)
if kwargs: cmpt_object.define_parameters(**kwargs)
else: cmpt_object.define_parameters(*args)
# external components
else :
cmpt_object = self.external_components[component_name]()
cmpt_object.output_directory = self.get_component_output_directory(component_name, component_prefix)
cmpt_object.prefix = component_prefix
cmpt_object.set_prefix(component_prefix)
# can't use positional arguments with external components
cmpt_object.define_parameters(**kwargs)
# if the built object is an analysis
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment