openkinome / kinoml

Structure-informed machine learning for kinase modeling
https://openkinome.org/kinoml/
MIT License
51 stars 21 forks source link

Ensure we create arrays of homogeneous type in DatasetProvider.to_awkward() #61

Closed jchodera closed 3 years ago

jchodera commented 3 years ago

cc: https://github.com/openkinome/experiments-binding-affinity/issues/25

It appears that DatasetProvider.to_awkward() can create mixed-type union arrays when attempting to create a list of arrays for each feature, even if the features are all homogeneous types themselves.

We need to fix this code to change this behavior.