Commit 8b0e8200 authored by Niina Helistö's avatar Niina Helistö
Browse files

Updating spinetoolbox project: updated workflow and BB_data_template

- Removed outdated workflow items
- Created json and sqlite templates for the database and added to the workflow
parent 52818e0f
...@@ -54,56 +54,6 @@ ...@@ -54,56 +54,6 @@
] ]
}, },
"connections": [ "connections": [
{
"from": [
"BB_base_sets",
"right"
],
"to": [
"Convert_base_sets",
"left"
]
},
{
"from": [
"supplement_inputData_ts",
"right"
],
"to": [
"Convert_ts",
"bottom"
]
},
{
"from": [
"inputData",
"right"
],
"to": [
"Backbone vara",
"bottom"
]
},
{
"from": [
"inputData",
"right"
],
"to": [
"Convert",
"bottom"
]
},
{
"from": [
"Convert_base_sets",
"right"
],
"to": [
"BB_data",
"left"
]
},
{ {
"from": [ "from": [
"BB_data", "BB_data",
...@@ -133,91 +83,81 @@ ...@@ -133,91 +83,81 @@
}, },
{ {
"from": [ "from": [
"Convert_base_sets", "Convert",
"bottom"
],
"to": [
"inputData",
"left"
]
},
{
"from": [
"supplement_inputData_ts",
"right" "right"
], ],
"to": [ "to": [
"Backbone vara", "BB_data",
"bottom" "bottom"
] ]
}, },
{ {
"from": [ "from": [
"Convert", "BB_config_files",
"right" "right"
], ],
"to": [ "to": [
"BB_data", "Backbone",
"bottom" "bottom"
] ]
}, },
{ {
"from": [ "from": [
"Convert_ts", "Export_to_BB",
"left" "right"
], ],
"to": [ "to": [
"BB_data", "Backbone",
"bottom" "left"
] ]
}, },
{ {
"from": [ "from": [
"BB_config_files_vara", "BB_sets",
"right" "right"
], ],
"to": [ "to": [
"Backbone vara", "Export_to_BB",
"left" "left"
] ]
}, },
{ {
"from": [ "from": [
"inputData", "BB_data_template",
"bottom" "right"
], ],
"to": [ "to": [
"supplement_inputData_ts", "BB_data",
"left" "left"
] ]
}, },
{ {
"from": [ "from": [
"BB_config_files", "inputData",
"right" "right"
], ],
"to": [ "to": [
"Backbone", "Backbone vara",
"bottom" "left"
] ]
}, },
{ {
"from": [ "from": [
"Export_to_BB", "BB_config_files_vara",
"right" "right"
], ],
"to": [ "to": [
"Backbone", "Backbone vara",
"left" "bottom"
] ]
}, },
{ {
"from": [ "from": [
"BB_sets", "inputData",
"right" "right"
], ],
"to": [ "to": [
"Export_to_BB", "Convert",
"left" "left"
] ]
} }
...@@ -247,36 +187,29 @@ ...@@ -247,36 +187,29 @@
"inputData": { "inputData": {
"type": "Data Connection", "type": "Data Connection",
"description": "", "description": "",
"x": -300.4477396385093, "x": -347.8182821765176,
"y": 89.91674269496238, "y": 1.577082286244062,
"references": [] "references": []
}, },
"BB_config_files": { "BB_config_files": {
"type": "Data Connection", "type": "Data Connection",
"description": "", "description": "",
"x": 192.64471365960787, "x": 225.93212192955966,
"y": -37.134419124776116, "y": -19.210430056340506,
"references": []
},
"supplement_inputData_ts": {
"type": "Data Connection",
"description": "",
"x": -144.99988274364932,
"y": 163.86627654924152,
"references": [] "references": []
}, },
"BB_config_files_vara": { "BB_config_files_vara": {
"type": "Data Connection", "type": "Data Connection",
"description": "", "description": "",
"x": 132.74637152587613, "x": 230.04802646881222,
"y": 48.479045915210676, "y": 189.3103885957761,
"references": [] "references": []
}, },
"Backbone": { "Backbone": {
"type": "Tool", "type": "Tool",
"description": "", "description": "",
"x": 442.86124348844345, "x": 371.16528721470104,
"y": -113.10256157821419, "y": -124.62512597935135,
"specification": "Backbone", "specification": "Backbone",
"execute_in_work": true, "execute_in_work": true,
"cmd_line_args": [] "cmd_line_args": []
...@@ -284,8 +217,8 @@ ...@@ -284,8 +217,8 @@
"Backbone vara": { "Backbone vara": {
"type": "Tool", "type": "Tool",
"description": "", "description": "",
"x": 349.4121144699393, "x": 363.49524873799595,
"y": 41.04075743176567, "y": 111.45642877204835,
"specification": "Backbone", "specification": "Backbone",
"execute_in_work": false, "execute_in_work": false,
"cmd_line_args": [ "cmd_line_args": [
...@@ -299,63 +232,27 @@ ...@@ -299,63 +232,27 @@
} }
] ]
}, },
"BB_base_sets": {
"type": "Tool",
"description": "",
"x": -445.3612434884435,
"y": -137.22056911251164,
"specification": "BB_base_sets",
"execute_in_work": false,
"cmd_line_args": []
},
"Convert": { "Convert": {
"type": "Importer", "type": "Importer",
"description": "", "description": "",
"x": -193.73406586865244, "x": -188.61292613481368,
"y": -22.476982726399342, "y": -42.96154166175431,
"specification": "BB_to_SpineDB", "specification": "BB_to_SpineDB",
"cancel_on_error": true, "cancel_on_error": true,
"file_selection": [] "file_selection": []
}, },
"Convert_base_sets": {
"type": "Importer",
"description": "",
"x": -287.8415342698604,
"y": -130.47367383193375,
"specification": "Import_Bacbkone_base_sets_to_SpineDB",
"cancel_on_error": true,
"file_selection": [
[
"Backbone_base_sets_to_gdx.lst",
false
],
[
"Backbone_base_sets.gdx",
true
]
]
},
"Convert_ts": {
"type": "Importer",
"description": "",
"x": -5.105629674072162,
"y": -29.12652513068616,
"specification": "BB_to_SpineDB_ts",
"cancel_on_error": true,
"file_selection": []
},
"BB_sets": { "BB_sets": {
"type": "Data Transformer", "type": "Data Transformer",
"description": "", "description": "",
"x": 36.21444168453502, "x": 75.90327462178527,
"y": -130.8698589903699, "y": -132.1501439238296,
"specification": "ToBackboneSets" "specification": "ToBackboneSets"
}, },
"Export_to_BB": { "Export_to_BB": {
"type": "Exporter", "type": "Exporter",
"description": "", "description": "",
"x": 305.9880990968649, "x": 224.04986335544504,
"y": -159.36627654924155, "y": -129.9197230796688,
"databases": [ "databases": [
{ {
"output_file_name": "inputData.gdx", "output_file_name": "inputData.gdx",
...@@ -370,6 +267,25 @@ ...@@ -370,6 +267,25 @@
"output_time_stamps": false, "output_time_stamps": false,
"cancel_on_error": true, "cancel_on_error": true,
"specification": "ExportToBB" "specification": "ExportToBB"
},
"BB_data_template": {
"type": "Data Store",
"description": "",
"x": -282.9429702945906,
"y": -143.39191254748494,
"url": {
"dialect": "sqlite",
"username": "",
"password": "",
"host": "",
"port": "",
"database": {
"type": "path",
"relative": true,
"path": ".spinetoolbox/items/bb_data_template/BB_data_template.sqlite"
}
},
"cancel_on_error": false
} }
} }
} }
\ No newline at end of file
This diff is collapsed.
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