bigomics / playbase

Core back-end functionality and logic for OmicsPlayground
Other
3 stars 0 forks source link

fix reading comma decimals #102

Closed ivokwee closed 6 months ago

ivokwee commented 6 months ago

This fixes bug report of Caroline Gr. issue #101 when uploading comma decimal separated values and semi-colon column seperation.

Solution: added detect_delim() and detect_decimal() to detect column delimiter and decimal delimiter characters. Uses header or top 10 lines for determining. Then sets detected 'dec' at reading using fread.

Before: image

After: image

ivokwee commented 6 months ago

Also tested for different combination of column delim and decimal delim image