Analytica 5.2 beta Release Notes/Changes in 5.2.7
This page lists fixes/changes in Analytica & ADE beta build 5.2.7 since the previous 5.2.6 beta build.
For what's new since 5.1, see What's new in Analytica 5.2?
Analytica 32-bit
The 32-bit version is again not included with this build. It is likely that we will launch 5.2 in 64-bit only.
Libraries and Example Models
- Added a new library: Google Maps from OnGraphDraw. Provides the new function OnDraw_Google_map, which makes it easy to plot data over a google map.
- Added a new example model (Data Analysis folder): CSV read and Google Maps plot.ana. Demonstrates:
- Downloading CSV data from a URL source
- fallback to a secondary URL in the 1st one doesn't work
- Parsing CSV data
- Plotting data over a Google Map.
Built-in functions
- Added URL and Checkbox parameters to MsgBox. So you can now include up to 2 URL links and a checkbox question, in addition to the usual text and buttons.
- Fixed a bug in ReadFromURL -- the Byte Order Mark wasn't being stripped for downloads > 16000 bytes.
- Unicode normalization transformations by TextCharacterEncode didn't work on some computer, and gave an incorrect error message that the feature required Windows Vista or better (even though these were Windows 10 computers). Related to system DLL paths.
Graphs
- Axis labels inherited their color from axis titles when not explicitly set. Was confusing, since this wasn't reflected in the Graph Setup dialog.
- Hover icons shouldn't show when the graph is invalidated.
- A "0" value was appearing as "0e+000" on a graph when it should have been just "0".
- The swap XY hover icon intermittently didn't appear.
Object Window
- Width of description and other fields expanded to wide, changing wrap spot when just changing between browse and edit.
- Add quotes if possible / Remove quotes if possible in textual attribute fields (like Definition) was corrupting extended unicode characters (converting to UTF8 garbage).
- Fixed a bug where definition became blue after switching from browse to edit mode.
Tables
- The display of each line within a table cell had been truncated if more than 255 characters (or 255 bytes for extended chars). Lifted that restriction. (The table cell has to be pretty wide for this to matter).
Diagrams
- The [x+y] hover icon or edit table icon was not appearing for an alias node of a variable.
Engine
- Fixed a multithreaded race condition when an optimization is formulated inside the evaluation of an outer NLP solve, causing the process to deadlock.
- New system variable,
UserGoogleAPIKey, stores and preserves your personal Google API key, used for google web services including Google maps. This is used by the new Google maps from OnGraphDraw library. - When you set an integer-valued system variable (such as sampleSize) to its current value, with the exception of RandomSeed, we disabled the triggering of dependencies. For example, setting sample size (e.g., in a button script via assignment) to its current value doesn't cause all uncertain variables to be invalidated. This turned out to be relevant for a model that used WhatIf -- the extreme invalidation from sampleSize was slowing things down a lot, unnecessarily.
Clipboard - copy/paste
- When you are in browse mode and you would be able to paste into the current focus if only you switched to edit mode, we now enabel the Paste command on the menu. If you do select Paste, it then asks you if you want to switch to edit mode. This because we found it easy to become confused as to why paste isn't working, not realizing you are in browse mode.
- Bug where the data was transposed incorrectly during a paste, but appeared like it hasn't been transposed immediately after the paste.
- Extended unicode characters (like chinese chars) weren't copying from Analytica to Excel correctly.
- In a copied diagram image, a module node with a non-standard color was the wrong color in the image.
- When cutting a lot of nodes (or a module with a lot of nodes), a currently displayed graph re-rendered repeatedly, slowing down the cut operation.
- Several refinements to pasting n1xm1 cells into a n2xm2 sized-destination.
- Several refinements to adding of quotes on items during paste.
ADE
- The compiled binary for the AdeTest example was re-compiled for .NET 4.6, since this is what ships with most Windows 10 computers now. The project file was upgraded to Visual Studio 2018.
- CAObject::Result lost indexes when a zero-length index is present.
Comments
Enable comment auto-refresher