Comments (3)
I think a similar issue might be present in some of the other scoring functions that are coded manually in c (i.e. not via cython) e.g. sd.c. Please take a look at these cases.
AFAI can tell that behavior by numpy is extremely undocumented. I literally had to look at the source code to find out what was happenning. In-fact this API itself seems rather undocumented. All the documented APIs seem to require an integer type to be specified rather than a descriptor object.
from lightdock.
Thanks @maharjun for reporting this and for providing a solution! Indeed, this is something it was hidden during the tests execution and probably gone undetected for some time (I don't recall reading PyArray_AsCArray
behavior on stealing descr
reference, might be something added at some Numpy update?).
from lightdock.
Hi @maharjun , thanks again for your feedback. I've added your suggested patch to branch 0.9.2, including fixes for vdw
and sd
scoring functions. Please, let me know if it's working fine on your side.
from lightdock.
Related Issues (20)
- Tutorials for lightdock 0.9.3 is needed. HOT 2
- PDB parser fails when two residues with same name but different insertion code
- error: run lightdock3_setup.py DDB1-CRBN.pdb brd4.pdb --noxt --noh --now -anm HOT 1
- lightdock online: how to fill Active Residue Restraints? any example? HOT 1
- [lgd_cluster_bsas] ERROR: object of type 'PosixPath' has no len()? HOT 6
- what the datas meaning of cluster.repr file? HOT 4
- Unexpected keyword argument 'seed' HOT 6
- dna.pdb file empty after running `reduce_to_amber.py` and subsequent error during simulation HOT 10
- lightdock pdb file visualises incorrectly in pymol HOT 5
- ERROR: [NormalModesCalculationError] Number of atoms is different HOT 6
- Swarm number remains 400 after using residue restraints HOT 5
- Can't find implicit membrane model for PBP2a protein on Memdock. HOT 6
- Issues when docking HOT 1
- test_dna and test_pydock failed. HOT 2
- TOBI scoring function fails to replicate results with CCharPPI server HOT 5
- Error encountered with DNA scoring function in lightdock3.py for DNA-DNA docking HOT 3
- Migrate tests from nose to pytest HOT 2
- Question about the treatment of protein-ligand docking. HOT 3
- Freezes after a while HOT 6
- Support for non standard amino acids HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightdock.