-
Notifications
You must be signed in to change notification settings - Fork 5
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
Regression: numeric settings are now read as character arrays #15
Comments
Hmmm... So it's just crap that starts with a zero.
|
I'll do this. I'll scale the heights of neat software development by doing it with a unit test. |
Argh I knew what I was doing was hacky.
…On Wed, 11 Jan 2017 at 09:38, Rob Campbell ***@***.***> wrote:
I'll do this. I'll scale the heights of neat software development by doing
it with a unit test.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFH45e4Utgt0wBef3w0Vt4iR3bD540PHks5rRKMJgaJpZM4LgWL1>
.
|
I'm on it right now. |
Right. This will of course have been caused by the fix for the sample ID.
Anything numeric with a leading zero is kept as a string by readSimpleYAML.
Perhaps a fix is to change this to anything numeric, which is not in fact
equal to zero?
…On Wed, 11 Jan 2017 at 10:03, Rob Campbell ***@***.***> wrote:
I'm on it right now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFH45fGacqCL-y80hDfDjvNezn2bVdPgks5rRKjjgaJpZM4LgWL1>
.
|
Yes, that seems reasonable. |
Except that this won't catch the problematic YAML that we were trying to fix, since there |
Or to force the user to escape the stackname e.g. '01' in the file, and
detect this
…On Wed, 11 Jan 2017 at 10:11, Rob Campbell ***@***.***> wrote:
Except that this won't catch the problematic YAML that we were trying to
fix, since there stackName was equal to 01 with no characters. I think
the only way to fix that would be to force it to read certain settings as a
settings (or certain files) a string.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFH45c0EH63Iom1VxI3f1CnkTHnNXyYaks5rRKrtgaJpZM4LgWL1>
.
|
The saga continues: fd8fb9e. I think we're now good. It passes the tests and MaSIV works again. |
Looks good, makes sense. Logically, there should be no number, saved by matlab, that is a whole number, with leading zeros. He says, fingers crossed. |
It looks like the changes for reading sample IDs starting with a number or a zero have screwed up the reading of the settings file. So it now reads numeric settings as strings which made me think I had a bug here: 83b1568 That fixed it by accident but now we can't pan because the pause setting for the keyboard pan is broken.
The text was updated successfully, but these errors were encountered: