UofS-Pulse-Binfo / rawphenotypes

A Tripal module for storing raw phenotypic data. Specifically meant to help researchers contribute raw data, visualize summaries and download for further analysis.
2 stars 2 forks source link

Remove non-breaking spaces from data #58

Closed reynoldtan closed 5 years ago

reynoldtan commented 6 years ago

Remove non-breaking (more info here https://en.wikipedia.org/wiki/Non-breaking_space) whitespace from values.

To test:

  1. In a spreadsheet file, add non-breaking char at the beginning and/or at the end to data entries by pressing Option + Space for mac and ALT 0+1+6+0 for Windows.

  2. Upload.

carolyncaron commented 5 years ago

This appears to work as expected for values. :+1: However, I decided to try it in a column header as well and couldn't get passed Step 1. This PR only specifies fixing values though so I can verify that the fix works and will approve it, but should we be considering column headers as well? I feel like non-breaking whitespaces are more likely to occur in the headers, especially with user-added traits. Would like to hear your thoughts on this @reynoldtan and @laceysanderson!