Describe the bug
If one wants to convert a string column into a logical column in the table viewer and the column is only partly filled, then nan values are converted to true values.
To Reproduce
Steps to reproduce the behavior:
Create a table with a string column containing logical values encoded as string and empty cells
Open this table in the table viewer
Select the column and convert it to logical values
See error
Expected behavior
The empty cells should stay empty during this conversion
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: 10x64
Version v1.1.5.2303
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The problem is in the following section, which does not handle the case, when a value is nan and not behind the current the last element. It's detected in this context, because the whole array is pre-allocated in case of column type conversion.
DESCRIPTION
Describe the bug If one wants to convert a string column into a logical column in the table viewer and the column is only partly filled, then
nan
values are converted totrue
values.To Reproduce Steps to reproduce the behavior:
Expected behavior The empty cells should stay empty during this conversion
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
The problem is in the following section, which does not handle the case, when a value is
nan
and not behind the current the last element. It's detected in this context, because the whole array is pre-allocated in case of column type conversion.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST