News in 1.4.5¶
- Fixed problem inserting linked subflow.
- Minor documentation fixes.
- Fixed default editor for list parameters.
- Improved backwards compatibility for empty selection in list parameters.
News in 1.4.4¶
- Add default workflow environment variable SY_PARENT_FLOW_FILEPATH.
- Always show empty item in comboboxes when no selection has been made.
- Confirmation dialog when canceling node configurations with unsaved changes is no longer experimental and is on by default.
- More operations, such as, edit are available for locked subflows.
- Locked subflows are now available under Execution Mode.
- Limit the number of characters written to Messages window, this improves performance. Default setting of 32000 characters can be changed in Preferences -> Advanced.
- Setting to change the behaviour of moving views has been added in Preferences -> General.
- Reload library updates nodes that were previously missing in library.
- Running nodes can now be deleted.
- Improved font and icon rendering on high-dpi Windows 8, 10.
- Searchable text fields in Flow overview.
- New option to enable/disable window docking in General pane.
- Textfields can be manually ordered to choose how they overlap.
- Update Configuration with Table: updates a node configuration using a table. This can be used to set almost any configuration option programmatically.
- Image filtering algorithms have been split from the Filter Image (deprecated) into the more specific nodes Edge detection, Corner detection, Morphology (single input), Transform image, Threshold image, Color space conversion, Color range conversion, and Filter image. Additional algorithms have been added to some of these nodes.
- Cartesian Product Table node creating a table with all combinations of rows in the input tables. Useful for generating XY data for heatmap generation.
- Insert List, Chunk List.
- Table to Text.
- Debug Import, Debug Export.
- ORB feature detection algorithm now also outputs XY coordinates.
- Jinja2 template node now give the same context for Python expressions as the calculator node, as far as allowed by the Jinja2 template engine.
- Add optional Datasources port to Export Texts.
- Allow adding more ports to Concatenate texts.
- Fix bug where Copy files would drop extensions if configured with a directory.
- ATF importer includes more attributes.
- LAA importer, support for autodetection
- Importers: better support for opening a large number of sydata files.
- Export Tables, ability to control filename using datasource.
- Customizable ports for Append List and Bisect List.
- Customizable port for Propagate First Input, deprecated Propagate Input.
- Calculator, input port can be removed.
- Added support for masked arrays to Replace values in Tables nodes.
- Showing progress for Map, Apply and Locked subflows.
- Calculator plugins can add their own packages via import statements.
- Export Datasources has changed name to Archive files and now supports packing and unpacking of ZIP, GZ, and TAR formats.
- Added progress to F(x) nodes, Convert columns nodes and Predicate list nodes.
- New API for accessing worker settings: sympathy.api.nodeconfig.settings.
- Improved implementation of
set_list()and the resulting
ParameterListwith stricter promises. Parameters are given exactly as before during execute, but some nodes might need to be updated to make configuration work. Overall, this will make working with lists much easier.
- Allow the options in the combobox editor to be a dictionary with keys and display texts.
- Allow choosing the available states (abs/rel/flow etc.) in filename editors.
- Improved API for setting parameter editors: They can now be found in
node.editors(as well as their old location) and
.value()is no longer needed. Default to combobox editor for list parameters without an editor.
- Two new editors:
- Allow passing controllers structure to ParameterGroup.gui() to ensure that it builds with the relevant controllers.
- New method: types, added to TypeAlias API.
- Added ‘ts’ and ‘rasters’ as new kinds of names from adaf to be used in adjust.
News in 1.4.3¶
- Improved handling of labels for linked subflows. Changing the label of a linked subflow only changes the link label. The original source label can be seen in the subflows tooltip. Both labels can be changed individually in the subflow’s properties.
- A little plus sign has been added to subflows with overrides.
- Fixed a problem with encoding the character sequence ]]> when saving flows.
- Using synchronous state machine for more predictable state changes, hoping to avoid random problems with nodes ending up in the wrong state.
- Improved performance in some situations by validating fewer nodes.
- Added destination folder argument to documentation generation. See Sympathy Start options.
- Fixed Table viewer glob filtering.
- Added ability to generate documentation for node plugins.
- Added option to the Advanced pane to clear cached Sympathy files (temporary files and generated documentation). Also an option to clear settings, restoring Sympathy to its orignial state. This may be used for debugging purposes.
- Changed the default MATLAB JRE setting to be disabled since it gives a big performance boost in cases when JRE is not used (which would be most of them). For existing installations you will have to change this manully, in the MATLAB pane.
- New library layout: Separated tag layout, which uses the same ordering as Tag layout, but separated into libraries.
- Added methods
- Improved performance and memory usage when running locked subflows and lambdas.
- Standardized ADAF attribute interfaces, based on abc.MutableMapping.
- Added include_empty=bool to combobox editors, usable for representing no selection.
- Added shallow=bool argument to
TypeAlias.source(). Custom types need to be updated, adding keyword shallow=False should be enough. Using shallow=True in calls to source can improve performance.
- Improved path editors. For example, using the dialog to select a file will result in a path with the same state as was selected before the dialog.
- Optionally include index column in output from Pivot Table.
- Improved performance in Select columns in ADAFs in some situations.
- xls/xlsx importer plugins is better at handling columns with mixed types, especially integers and strings.
- xls/xlsx can import tables with missing values. Those positions in the table will be masked.
- Replaced Jinja2 template node with a new version accepting generic arguments, allowing for instance lists of tables or ADAFs as input to expression.
- Renamed node Either With Data Predicate to Conditional Propagate.
- Renamed Select columns in ADAF with Table to Select columns in ADAF with structure Table
- Heatmap calculation uses masked arrays instead of nan in its output.
- Improvements and bug fixes to the figure nodes.
- A Datasource output to Scatter 3D Table has been added.
- Options for relative and absolute paths in Datasource to Table and Table to Datasources.
- Added support for integers and floating point values in Replace values in Table.
- Datasource has had its tabbed inteface replaced with a dropbox.
- When using a manual timestep in Interpolate ADAF, the time step is added to the raster’s column attributes.
- Manually create Tables can now use ‘nan’ and ‘±inf’ as float values.
- The node Select column by type in Table has been added.
News in 1.4.2¶
- Improved performance of Select columns in Table in cases when lots of columns are discarded.
- Added the node Periodic Sequence Split Table that can split up a Table into a Tables list where each element holds one periodic event.
- Support for creating masked values in Lookup Table and Pivot Table. Pivot node now works with any data type.
- Improved performance in all VJoin Tables/ADAFs nodes with a single list input, in the case when the input list contains a single element.
- Optimization and new option for HJoin Tables with different number of rows analogous to VJoin Tables.
- Optional creation of masked array in Ensure columns in Tables with Table.
- Harmonized quoting for CSV importers and exporters.
- Chunked MDF writing to improve performance when exporting large Rasters.
- Extended VJoin Tables with more options for controlling how to handle missing index.
New machine learning nodes based on scikit-learn. Features include:
- Operates on tabular (nummeric) data, texts, or images converted to tables
- Supervised learning using Multi-Layer Perceptron Classifier neural networks, Support Vector Classifier, Logistic Regression, Decision Tree Classifier and Random Forest Classifier.
- Regression using Linear Regression, Kernel Ridge Regression, and Epsilon Support Vector Regression.
- Clustering using K-means Clustering
- Exporting/importing trained models, extracting and visualising attributes
- Many preprocessing models including nodes such as Normalizer, Robust Scaler, Label Binarizer, Principal Component Analysis (PCA), Polynomial Features.
- Combining models in a chain using Pipeline nodes
- Creating ensembles from models using Voting Classifier nodes
- Hyper parameter search using Grid Parameter Search or simple Randomized Parameter Search.
- Various cross-validation schemes
- Model metrics such as ROC-curves, Confusion Matrix, or Learning Curve nodes.
See also the machine learning examples from the install path of the Sympathy node library.
- It is now possible to enter a minimum version for a workflow, in flow properties. Bear in mind that this feature is not very useful until it has existed for a few versions.
- Possibility to jump from an error message to the node/flow that caused the error.
- Some default workflow variables have been removed. Only SY_FLOW_FILEPATH and SY_FLOW_DIR remain.
- Lambdas can be configured to show input ports that can be used to perform configuration against data. See Lambda.
- Improved performance of the Figure type in some situations.
- Redesigned sympathy.api.dtypes, this API should be stable.
- Configurable node ports can now be added and removed when the nodes are connected. See Ports.
- Made it possible to build GUI:s from group parameters which includes children.
- Improved handling of flows and libraries in non-ascii paths.
- Reduced the maximum number of worker processes, used by default, to 4.
News in 1.4.1¶
- Select columns in Table(s) uses new multiselect editor mode to offer more options when it comes to unknown signals.
- Added new Convert columns in Table(s) nodes, old ones were renamed to Convert specific columns in Table(s). New ones use multiselect editor mode to offer more options when it comes to unknown signals.
- Added som new nodes for manipulating files: copying, deleting, renaming, and moving files.
- Added node for getting table names, Get Table Name.
- Added node for creating json, Manually Create JSON.
- Added nodes for converting json, Text to JSON and JSON to Text.
- Several improvements for Manually Create Table. It now allows you to create masked arrays, floating point numbers with arbitrary precision and more relaxed syntax, and date time columns. It also has a new undo functionality which allows you to undo mistakes while editing a table.
- All functions supplied by the Calculator plugin in the standard library can now handle masked array.
- Improved performance of Interpolate ADAF(s) when several signals from the same raster are resampled. For a file with 1000 resampled columns the new implementation was about three times faster.
- Added option to export just the time basis in Interpolate ADAFs.
- Add variable ‘arg’ for Jinja2 template allowing iterating over full table.
- F(x) nodes now correctly produce errors for some cases where they previously executed, but ignored the entire source file.
- MDF importer handles rasters with a basis and no timeseries.
- HJoin ADAFs now has an option to merge rasters with the same name in systems with the same name.
- Added option to Sort columns in Table to select sort order.
- Generic Calculator nodes have been added, which can take any type as input.
New image processing nodes based on scikit-image for automated image analysis, features include:
- Images as a new Sympathy datatype with custom image viewers. Support for alpha channel and any number of colour channels.
- >50 algorithms for Filter image, Morphological Image Operations or Extract Image Data. Includes edge/corner detection, hough transforms, feature detection, adaptive thresholding, morphology, blob detection, labeling, and many more algorithms.
- Extracting Image Statistics and features/lines into Sympathy tables for further processing of results.
- Visualization by Draw on Image for displaying identified objects or features. Overlay Images using image layer operations.
- Configurable number of node ports (select nodes). See Using custom port types.
- Ability to modify configuration using an optional json configuration port available to any node. See Configuration Port.
- New method: ParameterList.selected_names (usable with multiselect editor).
- Changes to ParameterEditorListWidget in multiselect: moved selection buttons to context menu. Context menu is always available.
- New boolean option: mode, for multiselect editor which adds choice of how to interpret the selection in selected_names.
- New api function: nodeconfig.adjust, useful for implementing adjust_parameters.
- New typealias method: names, useful for implementing adjust_parameters and as a common way of accessing names of different kind.
- Extended output of profiling, with graphs of nodes and flows if Graphviz is available. See Profiling nodes and workflows.
- Changed and documented API for creating new types. See Creating a custom data type.
- Improved performance when working lists or tuples of figures.
- Improved performance of some operations like reloading and unlinking subflows.
- More extensive linking of propagated data that has not been accessed. This greatly improves performance of nodes that operate on the outer container when working with composite elements. For example, Item to List with Random ADAFs as input.
- Subflow progress overlay has been improved and stays visible while nodes are executing. Completion of nodes affect the progress meter and Locked subflows and Lambdas are counted as 1 node.
- Improved presentation of node errors when running sympathy in CLI mode.
- Copying subflows with parameter overrides is more reliable.
News in 1.4.0¶
Sympathy for Data version 1.4.0 offers support for Python 3, improved responsiveness and several new features such a Flow overview window, a popup dialog for adding nodes and an improved library filter with highlighting of matches.
Many small improvements were made to the standard node library, for example, exporter plugins preview the filenames automatically.
Nodes and flows from 1.3.0 should be compatible with 1.4.0.
- Table Search and Replace has been replaced with Replace values in Table with Table.
- Old Matlab nodes have been replaced with new ones, which are using the new MATLAB API.
- A bug which prevented all markers being used in the Figure nodes has been resolved.
- TimeSync ADAF can now use both integer and float time bases and propagates basis unit.
- Filter ADAFs filter column can be selected from a dropdown list instead of being hardcoded.
- Workflow examples have been added for (almost) all library nodes.
- Improved performance of Interpolate ADAF(s).
- Future imports in Calculator and other code input. This changes
the meaning of the operator
/to always mean “true division”. To get floor division use the operator
//. Literal strings will also be interpreted differently. The syntax
'text'will now produce a text object (
strin python 3,
unicodein python 2). Use the syntax
b'binary'to produce a binary object (
bytesin python 3,
strin python 2).
- Preview button have been removed and preview handling have been updated for all export/import nodes.
- Node Export Texts can now use dynamic file extensions.
- Many obsolete nodes have been deprecated and are due for removal in the next major version, 1.5.0. To see if your flows contain any of these nodes, go to File/Preferences/Advanced and check ‘Display a warning when running deprecated nodes’, and run your flows. You can then use the new Flow overview to find these nodes.
- TimeSync ADAFs now correctly saves column attributes for the raster column.
- Set column attributes in Table(s) can remove attributes.
- Icons for all standard library nodes previously missing an icon. Default icon has been updated.
- Support for running Sympathy under Python 3. The platform and nodes from the standard library should work well under Python 3. Third party libraries written for Python 2 will probably need to be upgraded to run on Python 3. See Using and supporting Python 3.
- Synchronous task handling based on Twisted instead of ZeroMQ. This should reduce delay when executing and make the GUIs more responsive overall while lowering the load on your system.
- Automatic viewer reload when nodes are executed.
- Improved handling of node states. For example, if a node produces an error all following nodes will be clearly marked as not executable.
- Significant GUI speedups when working with large flows with many subflows.
- Improved library view with a new search algorithm which gives better, more focused search results, and an advanced search and search highlighting.
- Add nodes by starting a connection and dropping it on an empty part of the
flow. This opens a popup which allows to quickly search and insert a new node
from the library. The shortcut
Ctrl+Shift+Nalso opens the same popup at the current mouse position.
- Flow overview showing all subflows and nodes, and the ability to search for nodes within flows (including subflows and linked flows). Click a node or subflow to go directly to that node or subflow. See Flow overview for more details.
- Button in the data viewer for jumping to a specific row. When data is transposed this will scroll the view horizontally instead of vertically.
- Improved layering of nodes so that selected and moved nodes always end up on top.
- MATLAB API introduced, with Table-like functions, which is much simpler to use.
- The old MATLAB API has been removed.
- Flow environment variables are now added by right clicking in a flow, clicking Properties, and then going to the Environment variables tab. This was previously done in Preferences.
- Added a small example on how to use environment variables for CLI execution.
- Viewers show the node icon and the name indicates which node/port that is shown.
News in 1.3.5¶
- Calculations in Calculator can be deselected for output enabling better support for intermediary calculations. This also enables intermediary calculations to have different lengths from output columns.
- The input table(s) in Calculator can be easily copied over to the output table(s) with the new Copy Input parameter. Calculations with the same column name override columns from the input table(s).
- MATLAB nodes and Matlab Calculator have gotten better cross-platform compatibility.
- Matlab Calculator has been updated with the same GUI and (almost) the same functionality as Calculator List.
- Matlab Table and Matlab Tables have gotten a new simplified format. See the documentation for details on how to use that. This format can also be imported and exported in Table and Export Tables respectively. A Table-like API is planned for a future release. The API that currently resides in Sympathy/Matlab will also be deprecated in a later release, in favor of the new format. The old nodes are left for compatibility, so current flows and scripts will still work.
- The generic Empty node allows to specify the data type of the output port. The previous, specific, Empty-nodes have been deprecated.
- Rename column nodes have more consistent priority rules when more that one column are renamed to the same name.
- Extract lambda nodes are more robust with regard to corrupt flows. One corrupt flow should no longer stop the nodes from extracting other lambdas.
- New node: Heatmap calculation useful for feeding the heatmap in Figure(s) from Table(s).
- New features for heatmaps in Figure(s) from Table(s): logarithmic color scales and Z labels.
- Datasource and other nodes where you specify a file path can specify paths relative to its own workflow or the top workflow. This can make a difference when working with linked subflows.
- Datasources GUI is no longer slowed down when searching large folder structures. If the search takes to long it is aborted, and to get the full results the node has to be executed.
- The table name used for the output in HJoin Table can now be selected.
- Fixes to extract flows as lambdas so that workflow environment variables and flow name are set correctly.
- TimeSync ADAFs can now use integer timebases and correctly displays datetimes in the plot.
- Assert Equal Table now treats NaNs as equal.
- Improved config gui and handling of NaN values, masked values and non-ascii binary data in VSplit Table(s).
- A new node has been added HJoin ADAFs pairwise.
- When zooming and panning in Plot Table and using datetime as X axis, the current time span in the plot is displayed.
- SQL importer plugin can use SQLAlchemy and provide betters autodetection of existing tables.
- SQL exporter plugin can use SQLAlchemy.
- Improved documentation generation with support for libraries on different drives or on unicode paths.
- Nodes have gotten dynamic port icons that display the actual types.
- Color of textfields can now be changed.
- A textfields can be moved by dragging on any part of it. It is now edited by double clicking it or by right clicking and choosing “Edit”.
- The table viewer and any viewer which uses that component (i.e. ADAF viewer) can now be transposed for better viewing of long column names and tables with few rows but many columns.
- Table viewer now supports copying values and/or column names as a table or as text.
- The viewer can now show histograms for more types of data.
- Allow maximizing subflow configurations.
- Linked flows can now be placed on a different drive than their parent flows.
- combo_editor for string parameters can now have an empty list of options.
- Invalid subflows are more reliably shown as invalid (gray). Now any subflow which looks executable should be executable.
- Subflows show an error indicator if they contain any nodes that are not found in the node library. This should make such nodes much easier to find.
- Better feedback when trying to open a non-existing or corrupt workflow.
- The platform can handle a larger number of linked files without running into the OS limit.
- An Advanced tab has been added to Preferences, with one option to limit the number of concurrent nodes that may be executed, and one option to display warnings about deprecated nodes.
- New preference option to set number of concurrent worker processes. This may help with performance for heavily branched flows.
- Python 3 support for files created with the node and function wizards.
- Library wizard can create subdirectories.
- Spyder can’t handle files on file paths contaning non-ascii characters, and will fail to start when trying to debug nodes. An error message is now displayed to notify the user of this.
- Improved stability of type inference.
- File datasources always store absolute paths.
- Database datasources can use SQLalchemy in addition to ODBC.
News in 1.3.4¶
Sympathy for Data version 1.3.4 offers improvements to existing nodes, including several new plot types for the figure nodes and overall polish.
- Figure nodes have been massively improved with several new plot types (scatter/bar plots/histograms/heatmaps), improved gui, etc
- Extended figure export node with plugin exporter structure as for other types and choice of specifying image size in mm and dpi
- Reporting Nodes have been improved with rulers in layout window, pdf exporting and auto creation of tree structures
- Calculator, allows accessing the input table directly under the name “table” allowing for a way to test if a column exists. The node was also extended with the json module in the execution context
- ca.changed now correctly returns empty array for empty input
- Added functions ca.global_min and ca.global_max to standard calculator plugin. These handle empty input as you would expect
- Interpolate ADAF nodes have improved handling of missing values and resampling of zero-length signals
- Datasource and exporter/importer of SQL can use SQLAlchemy
- Pad List input can be different types of lists
- Predicate nodes have new editors for writing code
- VJoin nodes can mask missing values
- MDF importer creates MDF_datetime metadata
- Assert Equal Table allows approximate comparison of floats
- Added documentation for internal nodes (Apply, Map, etc.)
- Made it possible to specify viewer and icon for custom types (TypeAlias). For details, see Creating a custom data type
- Only scanning Libraries for plugins, PYTHONPATH is no longer included
- Scalar parameters can use the new combobox editor. See All parameters example for an example
- Code parameter editor for string parameters. See Editors for details and All parameters example for an example
- Allow Controllers to trigger on user-specified value. For an example of this see Controller example
cols()and added documentation for col/cols and Column class. See Table API
attrsproperty to Table API
- Expose dtypes module in sympathy.api
- Improved look and feel of wizards
- Library wizard has new examples
- Node wizard can select tags
- Show filename in flow tab unless flow label has been explicitly set by user. This means that a flow created in 1.3.4 will have no flow label when opened in older versions.
- More robust checks of port types
- Masked arrays
- Raw Tables nodes
- Scatter 3D ADAF
News in 1.3.3¶
Sympathy for Data version 1.3.3 offers improvements to existing nodes, the table viewer and automatic parameter validation when configuring nodes.
Changes in nodes/plugins:¶
- Allow unicode characters in Calculator node
- Improved default behaviour of Calculator node
- Improved rescaling of preview plot in Filter ADAFs node
- Improved XLSX export output compatibility
- Extract Lambdas can be configured when connected
- Improved performance of VSplit Table
- Improved bounds checking for calculator functions
- Improve gui in Manually Create Table. Now allows removing selected rows/columns as well as changing name and datatype of existing columns
- Improved handling of bad timebases in interpolation nodes
value_changedpropagation to parameters
- Made verify_parameters validate every change to configured parameters, for nodes with generated configurations
News in 1.3.2¶
Sympathy for Data version 1.3.2 offers several new and prominent features, such as the ability to specify libraries used by workflows, new window handling which brings open, but minimized, configurations and viewers into focus, a reworked save dialog that properly detects changes in subflows and many improvements to existing nodes.
- Raise open Configuration/Settings/Viewer windows on consecutive clicks
- Improved save confirmation for workflows
- Improvements to the function wizard. Including updating it to work with the new generic F(x) nodes
- Flows can now specify libraries and python paths in the Info dialog. These are added to the global library/python paths when loading the flow
- New error message box for node dialogs for showing validation errors/messages in node configurations
- Support for storing masked arrays, but not every node can handle them correctly
- Figure nodes with support for Tables
- New version of Transpose Table(s). These handle multiple rows and columns
- Assert Equal Table: for checking if two tables are equal. Mostly useful for testing purposes
- Generic F(x) nodes replacing all the previous type-specific f(x) nodes
- ATFX importer plugin for ADAF
- Set and Get nodes for Table attributes and Table column attributes
- Propagate First Input (Same Type). Can be used for constraining type if needed.
Changes in nodes/plugins¶
- Renamed Plot to Figure for nodes using the Figure type
- Figure Compressor, Layout Figures in Subplots: added auto recolor and auto rescale
- Improved datetime handling in Figure nodes
- MDF exporter plugin: encode unicode columns instead of ignoring them
- Convert columns in Table(s): converts string dates to either UTC or Naive datetimes. Choosing UTC, localized times will be converted to UTC. Choosing naive, the time zone info in the input is simply ignored. Old nodes will automatically use UTC
- Improved performance of Select rows in Table(s)
- Select rows nodes better handles values without explicit type annotation
- Improved error handling in lookup nodes
- Calculator plugin: Make sure that result is always correct length in changed_up, changed_down, and shift_array
- Filter ADAFs: added parameter validation and error messages. Filter design is computed and shown on parameter changes
- Changed the visible name for importer and exporter plugins for ADAF and Table to SyData
- Removes matlab settings from Matlab Table nodes and put them into global Preferences dialog
- Renamed calculator nodes to Calculator(s)
- CSV Exporter plugin: improved writing of datetime columns
- Improve handling of missing units in interpolate nodes
- Extended Table API and added
- Change default value for attribute
'unit'to always be empty string in ADAFs
- Added ParameterView base class for generated and custom GUIs to API. Custom GUIs can override the methods and properties to customize the behavior. Inheriting from ParameterView will be required in the future versions
- Added support for signing the Installer/Uninstaller
- Extended searchbar functionality for the Table viewer
- Always write generated files in the right directory
- Fix overrides not saved in syx files
- Non-linked subflows inherit their parents $SY_FLOW_FILEPATH and $SY_FLOW_DIR
- Improve performance of type inference
News in 1.3.1¶
Sympathy for Data version 1.3.1 offers several new and prominent features such as an improved data viewer with embedded plot, a new figure datatype and many new nodes as well as improved performance and stability.
- Improved Data viewer with embedded plotting of signals.
- Overhaul of subflow configuration: Split into settings and configuration. Removed grouping. Only allow selecting shallow nodes/flows. Added Wizard configuration mode. Optionally override parameters of linked subflows. Should be somewhat backwards compatible
- Added Figure-type. Passes serialized matplotlib figures between nodes
- Added tuple-type
- Better handling of broken links/nodes missing from library and changed port types due to subflow changes
- F(x) function wizard
- Allow setting flow name, description, version, author, and copyright information in flow info dialog. Also improved handling of flow labels all around
- Expose more environment variables from workflow
- New command-line option:
- Figure-type nodes: Figure from Table with Table, Figure Compressor, Layout Figures in Subplots, Export Figures
- Calculator for a single Table added to Library
- New Filter ADAFs node with preview plots and improved configuration gui
- Manually Create Table
- Signal generator nodes for generating Table(s) of sinus, cosines or tangents
- Matlab Tables node
- Hold value Table(s)
- Flatten List
- Propagate Input and Propagate First Input. These can be used to implement some workarounds and for determining execution order in a flow
- Interpolate ADAFs with Table
- Report Apply ADAFs with Datasources
- Filter rows in Tables. This is the multiple Table version of existing Filter rows in Table
- Tuple nodes
- Delete file, which deletes a specified file from the file system
- Allow selection of multiple columns in Unique Table
- Allow choosing specific rasters in Select category in ADAFs
- Table attributes are merged for the HJoin nodes
- Allow setting fixed width/height for TextBoxes in Report Template
- Easier date settings in Plot Table
- Rewrote Matlab Tables and Matlab Calculator nodes
- ADAF Importer was extended with option to link to imported content
- MDF Importer can handle zip-files that include a single MDF-file as input
- Gzip Exporter binary writes files correctly
- ATF Importer supports a wider range of files
- Export tables nodes will now create output folders if necessary
- Increased compression for exported sydata-files produces smaller files
- Added MATLAB API for writing scripts executed by the Matlab node
- Added update method to Attributes class. (ADAF API)
- Added support for placeholder text in lineedit_editor in parameter helper
- Added visibility and enable/disable slots to ParameterValueWidget
- Fixed name and type of output port of Report Apply nodes
- Fixed a bug where save file dialog wouldn’t show up at all when trying to save subflow on Windows, if the subflow label contained some specific unallowed characters
- Made sure that aborting a subflow doesn’t also abort nodes outside of the subflow
- Fixed a bug where linked subflows were sometimes inserted with absolute path
- Improved reliability when working with lambdas, maps and apply nodes
Deprecated nodes don’t show up in the library view, but can still be used in workflows.
- Type specific versions of list operation nodes (such as Get Item Table and Append ADAF).
- Old FilterADAFs node
News in 1.3 series¶
Sympathy for Data version 1.3.0 offers several new and prominent features such as generic types, higher order functions and much improved support for linked subflows.
Many small improvements were made to the standard node library. Nodes will often cope better with empty input data and deliver informative, but less detailed, feedback.
Nodes from 1.2.x should be compatible with 1.3.0 but there are new, more succinct, ways of writing nodes for 1.3.x that are not backwards compatible with 1.2.x. When writing new nodes, consider which older versions of the platform that will be used.
- Right-click on an empty part of the flow to insert higher order functions.
- New command in context menu for inserting a subflow as a link.
- Improved file dialogs in node configurations, by using native dialog when asking for an existing directory and starting file dialogs from currently selected file path.
- Simpler APIs for writing nodes. See Node writing
- New method in ADAF API:
- Configuration widgets can expose a method called save_parameters which is called before the gui is closed. See Custom GUIs
- Added API (parameter helper): List parameter widgets emit
- Improved slicing of (sy)table with slice object with negative or undefined stride
- Automatically update order, label, and description for parameters when the node’s definition changes
- NodeContext is no longer a named tuple
- Added new method:
NodeContext.manage_input(). A managed input will have its lifetime decided outside of the node
- Report framework: histogram2d graph layer is now called heatmap and can handle different reduction functions (count, mean, median, max, min).
- Improved XLS(X) import/export. Especially handling of dates, times, and mixed types. Cells formatted as Time are now imported as timedeltas.
- Renamed Sort Table(s) to Sort rows in Table(s)
- Calculator List: chooses columns case-sensitively on Windows too.
- Calculator List: shows number of output rows in preview in calculator gui.
- VSplit Table: Removed constraint that the index should be sorted. The elements will be grouped by the first occurrence of each unique value.
- Convert columns in Table: Added conversion path between datetime and float.
- Select columns in ADAF with structure Table now works as expected when Remove selected has been checked.
- Select rows in Table with Table offers a choice of reduction function between rows in config table. Previously it only read first row of the config table.
- Slice List of ADAFs/Tables: Basic integer indexing now works as expected.
- Improve handling of one sample signals in Interpolate ADAF(s)
- Report Apply nodes output datasources to created files
- Improved CSV import. Can now handle empty input, input with only one row, with or without trailing newline, and files with errors towards the end. It also features a new option for how to handle errors when importing a file. Header row has been made independent of the other input boxes, and no longer affects the data row. When read to end of file is selected, the number of footer rows is ignored. Delimiter detection was improved
- Fixed issues with nesting of higher order functions (Map, Lambda and Apply)
- Improvements to reporting: Improved bin placement and x-axis extent of 1d histograms. Automatically set axes labels from data source if they are empty. Added option “Lift pen when x decreases” to line graph layer. Added vline layer in reporting tool.
- Several nodes are better at forwarding attributes, table names, etc. to output Slice data Table, Select columns in ADAF(s) with structure Table(s), Unique Table(s), ADAF(s) to Table(s), Select rows in Table(s) with Table, Interpolate ADAF(s), and Rename columns nodes
- Many nodes are better at handling missing or incomplete input data: Filter rows in Table, Replace values in Tables, Detrend ADAF(s), ADAF(s) to Table(s), Select Report Pages, Scatter nodes.
- Added ‘calculation’ attribute on all output columns from Calculator List node
- Export Tables and Archive files create missing folders
- Fixed Export Texts
- Added default workflow environment variables
SY_FLOW_AUTHOR. All flows have these and they can’t be set or deleted.
- Subflows can define workflow variables. Each subflow specializes the variables of its parent flow, so that the parent flows vars are accessible in the subflow but not vice versa.
- Improve performance by skipping validation of any nodes that don’t implement
- Improve performance by changing compression settings for sydata files, compression is faster but compresses slightly less
- Pretty print workflow xml files, making diffs possible
- Requiring pandas version 0.15 for the CSV import, for versions before 0.15 down to 0.13 it will still work but may behave slightly differently in edge cases with blank rows
News in 1.2 series¶
Sympathy for Data version 1.2 is a significant minor release for Sympathy for Data. It features several prominent new features, improved stability and more. It is however not redesigned and with only a few small modifications, all existing nodes and flows should work as well as in 1.1.
The bundled python installation has been upgraded with new versions of almost every package. Added to the packages is scikit-learn, used for machine learning. Our investigations suggest that the new package versions are reasonably compatible with old nodes and cause no significant differences for the standard library.
- Added support for using environment variables, and per installation/workflow variables. The variables which can have a default value are used in string fields of configuration widgets to enable parametrization. See Using environment variables.
- Added support for profiling, with the ability to produce graphs if Graphviz is available. See Profiling nodes and workflows.
- Added support for debugging single nodes with data available from Sympathy using spyder. See Debugging nodes using Spyder.
- Added new Node Wizard for generating new nodes. See The node wizard.
- Added support for configuring subflows by aggregating selected node configurations. See Subflow configuration.
- Improved support for plugins in third party libraries. It is no longer necessary to add the folder with the plugin to python path in preferences
- Support for adding custom data types in third party libraries. See Creating a custom data type.
- Significantly improved handling of unicode paths including the ability to install Sympathy and third party libraries in a path with unicode characters
Nodes and plugins¶
- Added CarMaker type 2 ERG ADAF importer plugin called “CM-ERG”
- Plugins can now export to non-ascii filenames
- Fixed MDF export of boolean signals
- Added generating nodes for empty Table, Tables ADAF and ADAFs.
- Convert column nodes can convert to datetime
- Calculator node can produce compact output for length matched output
- Lookup nodes handles both event column and other columns with datetimes
- Time Sync nodes “SynchronizeLSF” strategy should work as expected again. The Vjoin index option is now only used for the ”Sync parts” strategy
New command line options¶
See Sympathy Start options for more info.
- Added new command line option, ‘–generate_documentation’ for generating documentation from CLI
- Added ‘exit_after_exception’ argument which is activated by default in CLI. It makes Sympathy exit with error status if an unhandled exception occurs in a signal handler.
- Added separate flag: –node_loglevel, for controlling the log output from nodes.
- Made it possible to set the number of workers using –num_worker_processes n.
- Libraries must now have only a single python package in their Common folders. See Node writing. In the Standard Library this package is called sylib
has_parameter_viewfrom node interface. See Custom GUIs.
- Changed default unit for time series to empty string instead of
has_columnmethod in sytable and added corresponding method in
- Accessing an ADAF basis which does not exist will raise a KeyError
- Improved node error handling, making it possible for nodes to issue user friendly error messages as well as warnings. See Errors and warnings.
- Expanded and improved documentation, including API references for all default data types, and documentation on how to create your own data type
- Improved error handling in many data type API functions
- Improved selection and context menu handling
- “Help” in node context menus will now also build documentation if necessary.
- Allow connections to be made by dragging from an input to an output port
- Added zoom with Ctrl/Cmd + scroll wheel
- Added working stop button.
- Improved the presentation of data in the viewer with a clearer font and better size handling as well as coloring of columns by data type
- Improved undo/redo functionality, making more operations available in the undo history
- Avoid hanging on Windows when too much output is produced during startup
- Avoid infinite wait during node validation