Skip to content
Snippets Groups Projects
  1. Dec 10, 2024
  2. Apr 05, 2024
    • Studer Gabriel's avatar
      disable numpy support in C++ layer · 728ad1c9
      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.
      728ad1c9
  3. May 25, 2023
  4. Feb 13, 2020
  5. Feb 07, 2020
  6. Nov 26, 2019
  7. Mar 02, 2015
  8. Apr 06, 2013
  9. Feb 22, 2013
  10. Feb 20, 2013
  11. Nov 19, 2012
  12. Jul 27, 2012
    • Ansgar Philippsen's avatar
      fixed transform py export · f26a1043
      Ansgar Philippsen authored
      f26a1043
    • Ansgar Philippsen's avatar
      EntityHandle interface change! Also refactored EntityImpl to use Transform handle transformations · 6fcf40d9
      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.
      6fcf40d9
  13. Jun 11, 2012
  14. May 21, 2012
  15. Jul 19, 2011
    • Ansgar Philippsen's avatar
      added default query flag to mol.entity · 2d33935e
      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.
      2d33935e
  16. Mar 31, 2011
    • Marco Biasini's avatar
      fix segfault for BZDNG-242 · 494f1635
      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.
      494f1635
    • Marco Biasini's avatar
      fix segfault for BZDNG-242 · 3146d41c
      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.
      3146d41c
  17. Feb 21, 2011
  18. Jan 17, 2011
  19. Dec 24, 2010
    • Marco Biasini's avatar
      improve IsValid of handle and view classes · a75bbdf7
      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.
      a75bbdf7
  20. Oct 30, 2010
  21. Jul 05, 2010
  22. Jun 21, 2010
  23. Jun 15, 2010
  24. Apr 22, 2010
  25. Apr 21, 2010
  26. Mar 12, 2010
  27. Mar 05, 2010
  28. Feb 26, 2010
Loading