You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user accidentally stored the participant ID number in the sleeplog with decimal places (144.00 in the example below)
which are not shown by Excel
causing that the sleep diary for this person could not be matched with the accelerometer file ID (144).
When I open the csv file in Excel and save it without making edits, the decimal places disappear:
and the sleep diary is successfully linked to the accelerometer data.
Proposed solution
I would hope that most GGIR users notice this and resolve it themself, but it is concerning that this can happen.
My first idea for a solution was to let GGIR code attempt to interpret ID as number and if it is possible check that there are no decimal places. This would come with the disadvantage that IDs with intentional decimal places are no longer permitted.
Instead, I propose:
At the end of processing the sleeplog let GGIR store the full list of IDs that could not be matched in a text file and display a warning message in the console with a reference to the text file.
The text was updated successfully, but these errors were encountered:
Problem
A user accidentally stored the participant ID number in the sleeplog with decimal places (144.00 in the example below)
which are not shown by Excel
causing that the sleep diary for this person could not be matched with the accelerometer file ID (144).
When I open the csv file in Excel and save it without making edits, the decimal places disappear:
![Image](https://private-user-images.githubusercontent.com/8362333/406353988-4a0876bd-d8c2-4eff-9385-c38974a8a169.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2ODM0MzgsIm5iZiI6MTczOTY4MzEzOCwicGF0aCI6Ii84MzYyMzMzLzQwNjM1Mzk4OC00YTA4NzZiZC1kOGMyLTRlZmYtOTM4NS1jMzg5NzRhOGExNjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDUxODU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODY0NTNjNjBkMTdlNGIxNTZhYjgyODNhNjAzNmQxYTg0MjJjZjJkZGRiNDY4Njk1N2EyYWVhMDY3OWI5NTdmZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.RRBu5mVvsNftz4iiMd-8Fso2EGEz9Rsk3ZSxju2JRZ4)
and the sleep diary is successfully linked to the accelerometer data.
Proposed solution
I would hope that most GGIR users notice this and resolve it themself, but it is concerning that this can happen.
My first idea for a solution was to let GGIR code attempt to interpret ID as number and if it is possible check that there are no decimal places. This would come with the disadvantage that IDs with intentional decimal places are no longer permitted.
Instead, I propose:
At the end of processing the sleeplog let GGIR store the full list of IDs that could not be matched in a text file and display a warning message in the console with a reference to the text file.
The text was updated successfully, but these errors were encountered: