Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix TRZ file reader on big-endian architectures #1425

Closed
wants to merge 12 commits into from
Closed

fix TRZ file reader on big-endian architectures #1425

wants to merge 12 commits into from

Commits on Jun 9, 2017

  1. use correct int types

    This fixes ERRORs and FAILs in the testsuite on 32bit:
    
    TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
    
    and
    
    assert_(out[0].dtype == np.int64)
      File "/usr/lib/python2.7/site-packages/numpy/testing/utils.py", line 92, in assert_
        raise AssertionError(smsg)
    AssertionError
    rathann committed Jun 9, 2017
    Configuration menu
    Copy the full SHA
    51649ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    280dc13 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2017

  1. Aesthetic fixes to test_gro

    Removed TestCase usage
    richardjgowers authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    1f61efd View commit details
    Browse the repository at this point in the history
  2. Added tests for issue #1395

    richardjgowers authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    b3adb1b View commit details
    Browse the repository at this point in the history
  3. Added lib.util.ltruncate_integer

    richardjgowers authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    6baf47e View commit details
    Browse the repository at this point in the history
  4. Changed coordinate writers to use ltruncate_int

    Fixes issue #1395
    richardjgowers authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    46768e5 View commit details
    Browse the repository at this point in the history
  5. More work on making indexing arrays use intp (#1362)

    - Added tests for 32 bit index support
    - added @rathann to AUTHORS
    richardjgowers authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    6a3e427 View commit details
    Browse the repository at this point in the history
  6. Explicitly define __hash__ for groups

    Groups (AtomGroup, ResidueGroup, SegmentGroup) cannot be stored in sets
    or used as dict key if they are not hashable. In python 3, the __hash__
    method is not defined implicitly anymore when a class has a __eq__ method.
    
    Fixes #1397
    jbarnoud authored and rathann committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    9a34b0f View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2017

  1. Configuration menu
    Copy the full SHA
    180216f View commit details
    Browse the repository at this point in the history
  2. fix int type in asserts in TestDownshiftArrays

    this was missed in eed7761
    rathann committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    059f664 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2017

  1. Configuration menu
    Copy the full SHA
    b9084b0 View commit details
    Browse the repository at this point in the history
  2. fix TRZ file reader on big-endian arches

    Numpy dtype int (iN) and float (fN) specifiers assume native-endian
    by default, so force them to be little-endian.
    
    Closes #1424.
    rathann committed Jun 22, 2017
    Configuration menu
    Copy the full SHA
    efa4628 View commit details
    Browse the repository at this point in the history