Closed ertjlane closed 1 year ago
This has been resolved by adding a try-except-else block in Erlend's cortex to the 'score_question' function in the cortex primary survey_scores feature. The data that was causing this error is from 2017, so we are not adding this try block to cortex itself because this is not something we are encountering in current projects and data analysis.
Describe the bug When attempting to process dictionary assigned survey scores from mindLAMP into a dataframe, I receive the error 'invalid literal for int() with base 10: '"None"''. This appears to be the response to a NULL value in a survey response, the source of which I cannot place.
To Reproduce Go to home/erlend/schz SF/NIH2_data and run kernal. The error should emerge in cell 13. Unclear if this is a cortex bug or not, but passing it on here either way per recommendation of the assignees.