-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDF5 file not generated when exposure
feature module is used on PDB files from Propedia database
#463
Comments
I see "using exposure component from the propedia database (and protCID database as well)" what do you mean here? Our exposure module uses The error seems related to the type of one of the arrays, which is a Numpy object of type 'O' and h5py does not recognize it. It could mean that you have mixed types (e.g. np.int8 and np.float32) in one of your features. |
exposure
feature module is used on PDB files from Propedia database
For some reasons, the exposure features generated from such PDB files contain mixed values types and are consequently treated as Objects from numpy. What happens if you enforce
You could try to cast |
h5py cannot store arrays of dtype 'O'. So preprocessing would fail. The solution would be to find out what type of object is created and see if it can be converted. |
Describe the bug
When building the HDF5 file of the graph database using exposure component from the propedia database (and protCID database as well), I get the following error:
This happens only when trying to calculate the exposure feature component. At first, I thought it is because H atoms are a problem, but removing them from pdb files didn't help.
Environment:
To Reproduce
Steps/commands/screenshots to reproduce the behaviour:
Run the following script:
Expected Results
Normally I get a HDF5 concatenated file.
Actual Results or Error Info
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: