- edited description
Default label types not recognized as "common" labels when auto-detecting labels during import
USE CASE: WHAT DO YOU WANT TO DO?
Import a file with reasonably auto-detected labels.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
-
Choose a file for which no Preferences exist (previous import details), but which has a default label type preceding numeric data such as weights. Example file
-
Without a Preferences node for the file, the import dialog will open. It will automatically run the detection procedure for labels.
CURRENT BEHAVIOR
Using the example file, observe that the default "COLUMN LABELS 2" label type is not recognized and data is considered to start a row above the actual start, because numeric data (weights) are encountered.
Import dialog:
Matrix:
EXPECTED BEHAVIOR
All default labels such as ROW LABELS X
or COLUMN LABELS X
where X is a number, are recognized as "common" labels by the label detection routines.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
Adjust the regexes for common label recognition in PreviewLoader
so they include the aforementioned labels.
FILES AFFECTED (where the changes will be implemented) - developers only
PreviewLoader.java
LEVEL OF EFFORT - developers only
minor
COMMENTS
ModelLoader uses the data provided by PreviewLoader, it is not affected.
Comments (3)
-
reporter -
reporter - edited description
-
reporter Encountered this during
#475 - Log in to comment