TreeViewer icon indicating copy to clipboard operation
TreeViewer copied to clipboard

Odd separator detection when importing data from attachment

Open Ge94 opened this issue 8 months ago • 3 comments

Hi, thank you for this resource! It's quite useful and intuitive for most things. I really appreciated the examples in your wiki.

I would like to report an odd case. I wrote an attachment in the following format:

TaxID  Color
1117    #999933
1118    #999933
...

The separator is a simple \t. I wanted to pass the attachment through the "parse node states" module, but no data were originally detected even by specifying \t as a separator (regardless of the regex box being ticked or not). After visualising the attachment in the spreadsheet editor, I discovered that the detected regex was [\t ]+ (edit to add: I just noticed an extra white space after the tab in the spreadsheet editor). I am not sure whether this is a standard behaviour, I am working on a Linux distro. Could you please double check this?

As a side recommendation, when studying the different examples I noticed that slightly different things are shown in different wikis. For example, when investigating the "parse node states" function here and here I learnt different things and in particular, I read about the spreadsheet trick when I had already spent quite a while thinking about my issue. Could I suggest taking a look at sections that are kind of repeated throughout the wiki, and provide the same info everywhere?

Thank you again for this cool visualisation tool.

Ge94 avatar Jun 12 '24 11:06 Ge94