Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot generate hdf5 for some complexes

See original GitHub issue

code and data: /projects/0/deeprank/BM5/issue147

Create new database ./1ZM4.hdf5

Start creating HDF5 database: ./1ZM4.hdf5 Creating database : 0%| | 0/1 [00:00<?, ?it/s, mol=1ZM4_ranair-it0_9812.pdb] Processing PDB file: ./decoys/1ZM4/1ZM4_ranair-it0_9812.pdb /home/lixue1/tools/pdb2sql/pdb2sql/ UserWarning: Missing chainID and set it with segID warnings.warn(“Missing chainID and set it with segID”) Traceback (most recent call last): File “”, line 47, in <module> database.create_database(prog_bar=True) File “/nfs/home6/lixue1/deeprank/deeprank/generate/”, line 439, in create_database self._rotate_feature(molgrp, axis, angle, mol_center) File “/nfs/home6/lixue1/deeprank/deeprank/generate/”, line 1581, in _rotate_feature xyz = data[:, 1:4] IndexError: too many indices for array Creating database : 0%| | 0/1 [00:12<?, ?it/s, mol=1ZM4_ranair-it0_9812.pdb]

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

NicoRenaudcommented, Apr 14, 2020

I think we will always find some PDB for which the data generation will fail. We should try to cover most cases but covering them all is unrealistic (especially with the amount of hours we have left 😦 )

Maybe we should add a best practice for the data quality, i.e. a description of how to prepare data for DeepRank to be able to exploit them.

LilySnowcommented, Apr 17, 2020

Perfect 😃 I will regenerate the data then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Std::complex support for H5CPP C++ - HDF Forum
While the HDF5 CAPI doesn't provide predefined complex datatypes ie: H5T_IEEE_C32LE is not present, the library allows creating a custom ...
Read more >
HDF5 and complex numbers - Mathematica Stack Exchange
HDF5 does not directly support complex numbers. Programs that do seem to be able to export complex numbers (like armadillo) to HDF5 will...
Read more >
Complex Numbers: define touple of two as integral? · Issue #29
Careful: HDF5 Fortran support for compound data types is pretty bad. Additionally other formats may not support directly complex numbers at all.
Read more >
rhdf5 - HDF5 interface for R - Bioconductor
The HDF5 file can contain a group hierarchy. We create a number of groups and list the file content afterwards. h5createGroup("myhdf5file.h5","foo") ...
Read more >
How to use HDF5 files in Python
The first is a numpy array while the second is an h5py DataSet. The same behavior works in more complex scenarios. Let's create...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found