projectglow / glow

An open-source toolkit for large-scale genomic analysis
https://projectglow.io
Apache License 2.0
263 stars 110 forks source link

ValueError: Some of types cannot be determined after inferring #447

Open williambrandler opened 2 years ago

williambrandler commented 2 years ago

This issue occurs if the phenotype data isn’t indexed to the sample id

phenotypes = pd.read_csv(quantitative_phenotypes_path, dtype={'sample_id': str}, index_col='sample_id')

Ideally, throw an exception if no samples are found