1.0
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{
"limit": {
"editor": null,
"label": "Limit preview to",
"order": 1,
"type": "integer",
"value": 100
},
"slice": {
"editor": null,
"label": "Slice",
"order": 0,
"type": "string",
"value": "[1:3]"
},
"type": "group"
}
1.0
Moves a file to new location using a datasource with the location
Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 0,
"type": "boolean",
"value": false
},
"type": "group"
}
1.0
Magnus Sandén
Copyright (c) 2011-2019, System Engineering Software Society
{
"json_table": {
"editor": null,
"label": "GUI",
"order": 0,
"type": "string",
"value": "[[\"new\", \"U\", [\"moved/0.csv\", \"moved/1.csv\"]]]"
},
"type": "group"
}
1.0
Moves a file to new location using a datasource with the location
Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 0,
"type": "boolean",
"value": false
},
"type": "group"
}
1.0
Propagate first input to output
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{"type": "group"}
1.1
Applies a regular expression to modify the PATH of a datasource.
Mathias Broxvall
Copyright (c) 2011-2019, System Engineering Software Society
{
"replace": {
"editor": null,
"label": "Replace",
"order": 1,
"type": "string",
"value": "renamed1.csv"
},
"search": {
"editor": null,
"label": "Search",
"order": 0,
"type": "string",
"value": "test_3.csv"
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"delete_folder": {
"editor": null,
"label": "Delete current folder if empty",
"order": 0,
"type": "boolean",
"value": true
},
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 1,
"type": "boolean",
"value": false
},
"type": "group"
}
1.1
Convert a table with file paths into a list of data sources pointing to those files.
Greger Cronquist
Copyright (c) 2011-2019, System Engineering Software Society
{
"files": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "File names",
"list": ["new"],
"mode": "selected",
"order": 0,
"passthrough": false,
"type": "list",
"value": [0],
"value_names": []
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"delete_folder": {
"editor": null,
"label": "Delete current folder if empty",
"order": 0,
"type": "boolean",
"value": true
},
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 1,
"type": "boolean",
"value": true
},
"type": "group"
}
1.0
Propagate first input to output
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{"type": "group"}
1.0
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{
"index": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "Index",
"list": ["0", "1", "2", "3", "4"],
"mode": "selected",
"order": 0,
"passthrough": false,
"type": "list",
"value": [0],
"value_names": []
},
"type": "group"
}
1.0
Copy files to another location. It is possible to name the copies using a regular expression.
Alexander Busck & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 4,
"type": "boolean",
"value": false
},
"filename": {
"editor": {
"filter": ["Any files (*)"],
"states": null,
"type": "savename"
},
"label": "Filename",
"order": 0,
"type": "string",
"value": "copied.csv"
},
"pattern": {
"editor": null,
"label": "Search",
"order": 2,
"type": "string",
"value": ""
},
"replace": {
"editor": null,
"label": "Replace",
"order": 3,
"type": "string",
"value": ""
},
"type": "group",
"use_regex": {
"editor": null,
"label": "Regex",
"order": 1,
"type": "boolean",
"value": false
}
}
1.0
Copy files to another location using a table with paths
Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 0,
"type": "boolean",
"value": false
},
"type": "group"
}
1.1
Convert a table with file paths into a list of data sources pointing to those files.
Greger Cronquist
Copyright (c) 2011-2019, System Engineering Software Society
{
"files": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "File names",
"list": ["filepaths"],
"mode": "selected",
"order": 0,
"passthrough": false,
"type": "list",
"value": [0],
"value_names": []
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{
"delete_folder": {
"editor": null,
"label": "Delete current folder if empty",
"order": 0,
"type": "boolean",
"value": false
},
"error": {
"editor": null,
"label": "Do not raise exceptions",
"order": 1,
"type": "boolean",
"value": true
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{"type": "group"}
0.1
Random Tables generator.
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{
"column_entries": {
"editor": {
"max": 1000000,
"min": 0,
"step": 1,
"type": "spinbox"
},
"label": "Columns:",
"order": 0,
"type": "integer",
"value": 5
},
"column_length": {
"editor": {
"max": 100000000,
"min": 0,
"step": 1,
"type": "spinbox"
},
"label": "Rows:",
"order": 1,
"type": "integer",
"value": 5
},
"length": {
"editor": {
"max": 10000,
"min": 0,
"step": 1,
"type": "spinbox"
},
"label": "List length",
"order": 3,
"type": "integer",
"value": 6
},
"mask_values": {
"editor": null,
"label": "Randomly mask values",
"order": 2,
"type": "boolean",
"value": false
},
"type": "group"
}
1.0
Magnus Sandén
Copyright (c) 2011-2019, System Engineering Software Society
{
"json_table": {
"editor": null,
"label": "GUI",
"order": 0,
"type": "string",
"value": "[[\"filepaths\", \"U\", [\"copied/1.csv\", \"copied/2.csv\"]]]"
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{"type": "group"}
1.0
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{
"fail_strategy": {
"editor": {
"display": null,
"edit": false,
"filter": false,
"include_empty": false,
"options": [],
"type": "combobox"
},
"label": "Action on index out of bounds",
"list": ["Error", "Create Empty Item"],
"mode": "selected",
"order": 1,
"type": "list",
"value": [0],
"value_names": ["Error"]
},
"index": {
"editor": {
"display": null,
"edit": true,
"filter": false,
"include_empty": false,
"options": [],
"type": "combobox"
},
"label": "Index",
"list": [],
"mode": "selected",
"order": 0,
"type": "list",
"value": [],
"value_names": ["3"]
},
"type": "group"
}
1.0
Erik der Hagopian
Copyright (c) 2011-2019, System Engineering Software Society
{
"limit": {
"editor": null,
"label": "Limit preview to",
"order": 1,
"type": "integer",
"value": 100
},
"slice": {
"editor": null,
"label": "Slice",
"order": 0,
"type": "string",
"value": "[4:]"
},
"type": "group"
}
1.0
Delete a file
Magnus Sandén & Andreas Tågerud
Copyright (c) 2011-2019, System Engineering Software Society
{"type": "group"}
0.1
Export Tables
Alexander Busck
Copyright (c) 2011-2019, System Engineering Software Society
{
"active_exporter": {
"editor": null,
"label": "Exporter",
"order": 0,
"type": "string",
"value": "CSV"
},
"custom_exporter_data": {
"CSV": {
"encoding": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "Character encoding",
"list": ["Western (ASCII)", "Western (ISO 8859-1)", "Western (ISO 8859-15)", "Western (Windows 1252)", "UTF-8", "UTF-8 with signature byte"],
"passthrough": false,
"type": "list",
"value": [4],
"value_names": []
},
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "csv"
},
"header": {
"editor": null,
"label": "Export header",
"type": "boolean",
"value": true
},
"label": "",
"table_names": {
"editor": null,
"label": "Use table names as filenames",
"type": "boolean",
"value": false
},
"type": "group"
},
"HDF5": {
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "sydata"
},
"label": "",
"table_names": {
"editor": null,
"label": "Use table names as filenames",
"type": "boolean",
"value": false
},
"type": "group"
},
"MAT": {
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "mat"
},
"header": {
"editor": null,
"label": "Export header",
"type": "boolean",
"value": true
},
"label": "",
"table_names": {
"editor": null,
"label": "Use table names as filenames",
"type": "boolean",
"value": false
},
"type": "group"
},
"SQL": {
"connection_string": {
"editor": null,
"label": "Connection string",
"type": "string",
"value": ""
},
"db_method": {
"editor": {
"options": ["ODBC", "SQLAlchemy"],
"type": "combobox"
},
"label": "Database connection method",
"type": "string",
"value": "ODBC"
},
"db_sqlalchemy_engine_url": {
"editor": null,
"label": "SQLAlchemy engine URL",
"type": "string",
"value": "mssql+pyodbc:///"
},
"drop_table": {
"editor": null,
"label": "Drop table",
"type": "boolean",
"value": false
},
"label": "",
"odbc": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "ODBC method",
"list": ["default", "pyodbc", "ceODBC"],
"order": 0,
"passthrough": false,
"type": "list",
"value": [0],
"value_names": []
},
"table_name": {
"editor": null,
"label": "Table name",
"type": "string",
"value": ""
},
"type": "group",
"use_nvarchar_size": {
"editor": null,
"label": "Use nvarchar(size)",
"type": "boolean",
"value": false
}
},
"SQLite": {
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "db"
},
"label": "",
"type": "group"
},
"XLS": {
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "xls"
},
"header": {
"editor": null,
"label": "Export header",
"type": "boolean",
"value": true
},
"label": "",
"type": "group"
},
"XLSX": {
"filename_extension": {
"editor": null,
"label": "Filename extension",
"type": "string",
"value": "xlsx"
},
"header": {
"editor": null,
"label": "Export header",
"type": "boolean",
"value": true
},
"label": "",
"table_names": {
"editor": null,
"label": "Use table names as filenames",
"type": "boolean",
"value": false
},
"to_plot": {
"editor": null,
"label": "Embed plot in output file(s)",
"type": "boolean",
"value": false
},
"to_sheets": {
"editor": null,
"label": "Export data to sheets",
"type": "boolean",
"value": false
},
"type": "group"
},
"label": "",
"order": 1,
"type": "group"
},
"directory": {
"editor": {
"type": "dirname"
},
"label": "Output directory",
"order": 2,
"type": "string",
"value": "."
},
"filename": {
"editor": null,
"label": "Filename",
"order": 3,
"type": "string",
"value": "test"
},
"plot": {
"editor": {
"options": [],
"type": "combobox"
},
"label": "Output separate plot file with the following extension:",
"list": ["-", "eps", "pdf", "svg", "png"],
"order": 4,
"passthrough": false,
"type": "list",
"value": [0],
"value_names": []
},
"type": "group"
}
Create some dummy files that we can play around with.
**Example 2: Copy 2 files to a new directory.**
**Example 3: Move one file.**
**Example 1: Copy one of the dummy files.**
Propagate First Input is used to delay execution so that the original file isn't deleted until after the copy has been made.
**Example 4: Move two file to a new directory.**
- Node example: *org.sysess.sympathy.files.copyfile*
- Node example: *org.sysess.sympathy.files.copyfileswithdsrc*
- Node example: *org.sysess.sympathy.files.deletefile*
- Node example: *org.sysess.sympathy.files.deletefiles*
- Node example: *org.sysess.sympathy.files.movefiles*
- Node example: *org.sysess.sympathy.generic.propagatefirst*
- Node example: *org.sysess.sympathy.datasources.rename*
Cleanup
Propagate First Input is used to delay execution so that the original file isn't deleted until after the copy has been made.