pranavkhade / packman Goto Github PK
View Code? Open in Web Editor NEWPACKMAN: PACKing and Motion ANalysis
License: Other
PACKMAN: PACKing and Motion ANalysis
License: Other
packman/tests/geometry/test_geometry.py::TestGeometry::test_AlphaShape
/home/runner/work/PACKMAN/PACKMAN/packman/tests/geometry/test_geometry.py:22:
DeprecationWarning: Delaunay attribute 'vertices' is deprecated in favor of 'simplices' and will be removed in Scipy 1.11.0.
self.assertIsInstance( geometry.AlphaShape( [j for i in self.mol[0].get_backbone() for j in i], 4 )[0][0], molecule.Atom )
When predicting hinges on the backbone, it sometimes fails due to infinite lengths. Is this caused by unconnected nodes? Can it be fixed by changing the alpha value? Should there be something in the code that handles this issue instead of crashing?
Will be fixed in the next major release.
packman.molecule.load_structure()
can not figure out if the file is cif
or pdb
while working with the biological assemblies.
Hello,
I am trying to calculate the entropy of a pdb structure. I uploaded it to the Packing Entropy server, and it said
Job Status: SUCCESS
ERROR:root:Please check the parameters.
I opened the log.txt
which said the same thing, and the output.txt
did not contain anything. I did not change any of the default parameters, and did not use any chains in the entropy calculation. Considering the error message says to check the parameters, which are all the default parameters, do you know what may be wrong? I have attached my pdb file as a zip file. Thanks!
Best,
Christian
subset.zip
This is not an issue but a question. I just need the alpha shape, how can I extract it? Thank you in advance.
When the path in your .hng file contains any whitespace, the line=i.strip().split()
in utilities.load_hinge
splits the line into a list that is longer than 3. Afterwards, the HNGinfo[ line[0]+'_'+line[1] ]=[float(j) for j in line[2].split(':')]
becomes irrelevant because the first, second, and third elements of line
are not as intended
PACKMAN/packman/molecule/model.py
Lines 490 to 491 in 52001f3
PACKMAN/packman/molecule/model.py
Line 83 in 875e1b0
Insert this before the line to make the rotation code work.
self.__AllAtoms_inverse = { self.__AllAtoms[i]:i for i in self.__AllAtoms }
FAILED packman/tests/utilities/test_utilities.py::Test_Utilities::test_superimpose - AttributeError: np.mat
was removed in the NumPy 2.0 release. Use np.asmatrix
instead.
1a9o_1-A_2-A has out of index model.
1a5n_2-A_3-A has out of index model.
1a1s_4-A_8-A has out of index model.
1a5o_1-B_2-C has out of index model.
1aew_3-A_19-A has out of index model.
1aew_14-A_21-A has out of index model.
1a6d_2-A_4-A has out of index model.
1ahz_1-A_3-B has out of index model.
1a5m_1-A_3-A has out of index model.
1a34_22-A_42-A has out of index model.
1a34_21-A_25-A has out of index model.
1a34_15-A_29-A has out of index model.
1a34_8-A_32-A has out of index model.
1aam_1-A_2-A has out of index model.
1a6c_27-A_52-A has out of index model.
Title says it all
Migrate to pytest using https://pypi.org/project/nose2pytest
============================= test session starts ==============================
platform linux -- Python 3.9.16, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/runner/work/PACKMAN/PACKMAN
collected 15 items
packman/tests/anm/test_anm.py .. [ 13%]
packman/tests/dci/test_dci.py . [ 20%]
packman/tests/entropy/test_entropy.py . [ 26%]
packman/tests/geometry/test_geometry.py .. [ 40%]
packman/tests/gnm/test_gnm.py . [ 46%]
packman/tests/molecule/test_molecule.py ........ [100%]
=============================== warnings summary ===============================
packman/tests/geometry/test_geometry.py::TestGeometry::test_AlphaShape
/home/runner/work/PACKMAN/PACKMAN/packman/tests/geometry/test_geometry.py:22: DeprecationWarning: Delaunay attribute 'vertices' is deprecated in favour of 'simplices' and will be removed in Scipy 1.11.0.
self.assertIsInstance( geometry.AlphaShape( [j for i in self.mol[0].get_backbone() for j in i], 4 )[0][0], molecule.Atom )
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 15 passed, 1 warning in 6.09s =========================
Dear maintainer, i encounter a problem using PACKMAN
Client Used : PACKMAN GUI provided through pip installation
Error encountered with CIF :
In both case, i don't obtain any result
Parameters used on the GUI : default
At first i thought it was the PDB or CIF file i was providing that was with a wrong formatting, so i tried various mean for saving my original file using different software (pdb_tools, pdb2cif, pymol, vmd..).
I also tried to split my structure and kept one monomer, but it doesn't work either.
I tried to use a similar structure (size wise) in CIF, it seemed to work.
So i come in your direction seeking help
Kind Regards
PACKMAN/packman/constants/Constants.py
Line 294 in 0558f1e
Assign 'x' instead of 'X'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.