CellProfiler-Analyst icon indicating copy to clipboard operation
CellProfiler-Analyst copied to clipboard

Rules import fails if small decimals use "e" notation

Open bethac07 opened this issue 7 years ago • 0 comments

Working with a user running stable 2.2.1 who had the following rule as part of a training, he kept being unable to transfer rules from one data set to another if and only if this rule was part of the set.

IF (NonOverlappingWorms_Intensity_MinIntensity_OrigRed > 0.0078431367874100006, [-1.0000009685764013, -1.0000009685764013, 1.0000009685764013], [4.6566139833006819e-09, -4.6566139833006819e-09, -1.0000002579764147])

Changing the second bracket to [0.000000004, -0.000000004, -1.0000002579764147] works, making me think it's the 4.__e-09 notation that's the problem. CPA either shouldn't write it that way or should parse it correctly.

bethac07 avatar Mar 23 '18 22:03 bethac07