- Dec 10, 2024
-
-
Studer Gabriel authored
-
- Apr 05, 2024
-
-
Studer Gabriel authored
Numpy support in C++ enabled features at two points: Efficient way of setting positions in entity handles or setting meshes in gfx.PrimList. Support for newer numpy versions would've required an effort to implement. As far as I know, no one uses these features (fingers crossed) so let's just dump numpy alltogether to simplify the build system.
-
- May 25, 2023
-
-
Studer Gabriel authored
-
- Feb 13, 2020
-
-
Bienchen authored
-
- Feb 07, 2020
-
-
Bienchen authored
-
- Nov 26, 2019
-
-
Studer Gabriel authored
import_array() must be called when the numpy C-API is called. This is a macro that in our case defined a return value that makes the compiler complain. The added #define statement enforces no return value
-
- Mar 02, 2015
-
-
Studer Gabriel authored
wrong branch, big sorry This reverts commit e77d08a6.
-
Studer Gabriel authored
-
- Apr 06, 2013
-
-
Marco Biasini authored
-
- Feb 22, 2013
-
-
Niklaus Johner authored
in the structure_analysis.py module. This is used to make functions written at the CoordFrame level accesible to analyze both entities and trajectories.
-
- Feb 20, 2013
-
-
Niklaus Johner authored
in the structure_analysis.py module. This is used to make functions written at the CoordFrame level accesible to analyze both entities and trajectories.
-
- Nov 19, 2012
-
-
Ansgar Philippsen authored
-
- Jul 27, 2012
-
-
Ansgar Philippsen authored
-
Ansgar Philippsen authored
the internal representation of a transformation for EntityImpl was changed from Mat4 to Transform in preparation for adding transformations to entity views; this impacts quite a few higher-level routines that used the transformation matrix, which now can use the more elegant Transform::Apply method instead; GetTransformationMatrix and IsTransformationIdentity methods in the EntityHandle interface are marked as deprecated; use GetTransform and HasTransform instead. In addition, there is a ClearTransform method which ensures that the internal has_transform flag gets set to false geom::Transform was extended to offer ApplyInverse, and matrix inversion exceptions are handled internally constructing a Vec3 from a Vec4 no longer throws a DivideByZero error when w is close to zero, instead it is silently assumed that this is not a true homogeneous coordinate conversion as an additional comment (and note to self), atom->GetPos always returns transformed positions; however, GetAltPos returns original positions, and original positions are also stored in the AtomGroup on the Impl level. Both the mol unit test as well as the PDB writer expect this behavior; the PDB writer applies the transform after calling GetAltPos. Commented code is in place now to change this behavior, i.e. have GetAltPos return transformed positions, making it consistent with GetPos, should this be desired.
-
- Jun 11, 2012
-
-
Marco Biasini authored
this is getting embarassing
-
Marco Biasini authored
-
Marco Biasini authored
-
- May 21, 2012
-
-
Niklaus Johner authored
This function returns a geom::Vec3List containing the positions of all the atoms in the entity.
-
- Jul 19, 2011
-
-
Ansgar Philippsen authored
For selections that do not explicitely state a QueryFlag option, a default query flag is used instead of 0. This is an extension to current behavior and should have zero impact on existing code.
-
- Mar 31, 2011
-
-
Marco Biasini authored
The cause for this is actually a bug in Boost.Python that triggers when arg("arg")... is used in the export and the number of arg("") arguments doesn't match the number of argument of the function. When one then uses a wrong kwarg, the program crashes. I'll submit a bug report to the Boost.Python on this issue. I fear that there are many more cases in the pymod export where we are using arg("") as we did for the query.
-
Marco Biasini authored
The cause for this is actually a bug in Boost.Python that triggers when arg("arg")... is used in the export and the number of arg("") arguments doesn't match the number of argument of the function. When one then uses a wrong kwarg, the program crashes. I'll submit a bug report to the Boost.Python on this issue. I fear that there are many more cases in the pymod export where we are using arg("") as we did for the query.
-
- Feb 21, 2011
-
-
Ansgar Philippsen authored
various related cleanups and optimizations: - removed superfluous sort in load_dcd - added explicit *TransformedPos() methods to complement *Pos() methods (XCSEditor, AtomHandle, AtomImpl) - changed getter/setter logic for AtomImpl Name, TransformedPos and OriginalPos to direct access, deprecated GetName and removed Get*Pos and Set*Pos
-
Ansgar Philippsen authored
-
Marco Biasini authored
-
Marco Biasini authored
-
Marco Biasini authored
-
- Jan 17, 2011
-
-
Marco Biasini authored
-
- Dec 24, 2010
-
-
Marco Biasini authored
Instead of only checking for the validity of the impl class, the view classes now also check if the view data is valid. This improves debugging in cases (when the trying to access, for example, an AtomView whose EntityView has been deleted.
-
- Oct 30, 2010
-
-
Marco Biasini authored
Request(ICS|XCS)Editor is still available in python but marked as deprecated. Also add unit tests to check behaviour of EntityHandle.Copy() and CreateEntityFromView()
-
- Jul 05, 2010
-
-
marco authored
GetGeometricStart()/GetGeometricEnd() has been deprecated and will be removed sooner or later. git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2501 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Jun 21, 2010
-
-
valerio authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2433 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Jun 15, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2395 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Apr 22, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2101 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Apr 21, 2010
-
-
valerio authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2071 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Mar 12, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1823 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Mar 05, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1768 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-
- Feb 26, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1742 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-