-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] unicode: replace greek mu and omega by micro and ohm signs #73
Conversation
This should not happen though. See quote from wikipedia below:
probably something to do with UTF8 vs ASCII ? |
The symbols have different unicode signs (U+00B5 vs. U+03BC), so copy pasting from the spec (as I did) can lead to problems. In my case this was indeed a UTF-8 / ASCII issue (Python3 vs. Python2) |
ah I see. Seems nasty. Perhaps something to check in the validator too? |
@jasmainak perhaps, but would not make it a high priority (worth opening an issue anyway). Pinging @bids-standard/bep_leads for comments. Unless anyone objects I will merge this on 2018-11-02. |
+1 ... as far as I know there are no unit checks implemented anyways at this point. So this adds one to the list. |
we had a long discussion about these units (which I can't find, maybe @robertoostenveld @choldgraf ?), but I remember a useful suggestion from @satra about the symbol used for micro |
here is the ascii-based units representation we discussed: |
ascii-based unit representations sound like a great idea! |
Is the consensus to go with @satra suggestion instead of this PR? If so @sappelhoff could you update your branch accordingly? |
Sure, but does accepting the ascii-based units mean rejecting the other units? I could imagine leaving our units as they are currently (plus the fix of this PR) ... and then adding a link to our document that links to the ascii units suggested by @satra |
I'm happy with ACII, in Matlab I coded in eeglab for char(181) that's micro (even if matlab says mu, char(956) is mu)
…--
Dr Cyril Pernet,
Senior Academic Fellow
Neuroimaging Sciences
Centre for Clinical Brain Sciences
Chancellor's Building, Room GU426D
The University of Edinburgh
49 Little France Crescent
Edinburgh BioQuarter EH16 4SB
[email protected]
tel: +44 (0)131 465 9530
http://www.sbirc.ed.ac.uk/cyril
http://www.ed.ac.uk/edinburgh-imaging
<http://www.ed.ac.uk/edinburgh-imaging>
________________________________
From: Stefan Appelhoff <[email protected]>
Sent: 08 November 2018 21:41
To: bids-standard/bids-specification
Cc: PERNET Cyril; Team mention
Subject: Re: [bids-standard/bids-specification] [minor] replace greek mu by micro sign (#73)
Sure, but does accepting the ascii-based units mean rejecting the other units?
I could imagine leaving our units as they are currently (plus the fix of this PR) ... and then adding a link to our document that links to the ascii units suggested by @satra<https://github.com/satra>
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub<#73 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEjUDjAdJ6BNIt2UbmiajJV0T6qXF_TGks5utKUYgaJpZM4X9TpL>.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|
@chrisfilo: in my opinion, this PR should be merged and we should have a separate discussion whether or not we want ...
|
29bd6d9
to
fb9a874
Compare
There is actually a difference between
µ
andμ
.Previously we had the greek Mu sign, but what we really want is the micro sign.
cf. https://twitter.com/stefanappelhoff/status/1055122338080006144
edit: This same error was also true for the omega sign, which should be an ohm sign: