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

[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): ...@@ -1373,6 +1373,8 @@ class ExperimentEditor(AbstractAssetEditor):
os.path.join(user, toolchain_name, experiment_name), 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 return asset, experiment_declaration
else: else:
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