mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-23 05:24:34 +08:00
Fix experiment template exporter [SCI-3988]
This commit is contained in:
parent
3e82b1ae89
commit
4df8779b19
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module ModelExporters
|
|||
# Writing JSON file with experiment structure
|
||||
File.write(
|
||||
File.join(@dir_to_export, 'experiment.json'),
|
||||
experiment[0].to_json
|
||||
JSON.pretty_generate(experiment[0].as_json)
|
||||
)
|
||||
# Copying assets
|
||||
assets_dir = File.join(@dir_to_export, 'assets')
|
||||
|
|
Loading…
Add table
Reference in a new issue