ohdsi-studies / PioneerWatchfulWaiting

This study is part of the joint PIONEER - EHDEN - OHDSI studyathon in March 2021, and aims to advance understanding of clinical management and outcomes of watchful waiting in prostate cancer.
Apache License 2.0
7 stars 18 forks source link

Error in `colnames<-` when attempting to execute runStudy() #96

Open sratwani opened 2 years ago

sratwani commented 2 years ago

Here is the complete error: This error occurs while the code is attempting to 'Extract feature counts'

Error in colnames<-(*tmp*, value = SqlRender::camelCaseToSnakeCase(colnames(data))) : attempt to set 'colnames' on an object with less than two dimensions

keesvanbochove commented 2 years ago

It's possible this error is thrown on line https://github.com/ohdsi-studies/PioneerWatchfulWaiting/blob/0809aced8602745a066fabb20dce6ea7af27d378/R/RunStudy.R#L265, but then this would suggest that cohort_count.csv was not read in correctly. Will probably need to interactively debug this to figure out what is going on...