Commit 05bdefcb authored by Samuel GAIST's avatar Samuel GAIST

[widgets][experimenteditor] Create experiment asset with generated content

This content is not valid in the sense that it's mostly empty.
parent 7ffaec4f
......@@ -1373,6 +1373,8 @@ class ExperimentEditor(AbstractAssetEditor):
AssetType.EXPERIMENT,
os.path.join(user, toolchain_name, experiment_name),
)
os.makedirs(os.path.dirname(asset.declaration_path), exist_ok=True)
asset.declaration = experiment_declaration
return asset, experiment_declaration
else:
......
Markdown is supported
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