f13480abc1f0ac3e1dc9611b6ddd1240ceb61bec,prody/proteins/starfile.py,,parseImagesFromSTAR,#Any#,298

Before Change


                np.save("{1}".format(i), image)

        if rotateImages:
            images.append(rotate(image, float(particle["_rlnAnglePsi"]),
                                 center=(180-float(particle["_rlnOriginX"]),
                                         180-float(particle["_rlnOriginY"]))))
        else:
            images.append(image)

After Change


                anglePsi = float(particle["_anglePsi"])
                originX = float(particle["_shiftX"])
                originY = float(particle["_shiftY"])
            images.append(rotate(image, anglePsi),
                                 center=(float(image.shape[0])-originX,
                                         float(image.shape[1])-originY))
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: prody/ProDy
Commit Name: f13480abc1f0ac3e1dc9611b6ddd1240ceb61bec
Time: 2018-09-26
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/starfile.py
Class Name:
Method Name: parseImagesFromSTAR


Project Name: rodluger/starry
Commit Name: 54e5cfb15c4ffe7cc1c4edcbba84fae6f877c318
Time: 2018-07-28
Author: rodluger@gmail.com
File Name: tests/test_rotations.py
Class Name:
Method Name: test_rotations


Project Name: matplotlib/matplotlib
Commit Name: 13a3095840e38c41870e8a198e6d61fa2cba7d87
Time: 2018-01-26
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/transforms.py
Class Name: Affine2D
Method Name: rotate_deg


Project Name: rodluger/starry
Commit Name: 4e5c97a84c22b6beb953e34a0f18147f7e668f88
Time: 2019-09-05
Author: rodluger@gmail.com
File Name: starry/ops/ops.py
Class Name: Ops
Method Name: align