Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 6bc8199

Browse files
authored
Merge pull request #54 from carnisj/devel
Devel
2 parents 9fa23bc + 2a7abd7 commit 6bc8199

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here are a few things you can do that will increase the likelihood of your pull
4747
request being accepted:
4848

4949
- Follow the [style guide][style] which is using PEP 8 recommendations.
50-
- Run [black] [blck] against your code.
50+
- Run [black] [blck] against your code, with the default line length of 88 characters.
5151
- Write and update tests.
5252
- Keep your change as focused as possible. If there are multiple changes you would
5353
like to make that are not dependent upon each other, consider submitting them as

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Changelog
105105
=========
106106

107107
.. include:: ../HISTORY.rst
108-
:end-before: Version 0.0.8
108+
:end-before: Version 0.1.0
109109

110110
See the full :doc:`Changelog<changelog>`
111111

bcdi/postprocessing/postprocessing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ def ortho_modes(array_stack, nb_mode=None, method="eig", verbose=False):
16791679
:param array_stack: the stack of modes to orthogonalize along the first dimension.
16801680
:param nb_mode: the maximum number of modes to be returned. If None,
16811681
all are returned. This is useful if nb_mode is used, and only a partial list
1682-
of modes is returned.
1682+
of modes is returned.
16831683
:param method: either 'eig' to use eigenvalue decomposition or 'svd' to use
16841684
singular value decomposition.
16851685
:param verbose: set it to True to have more printed comments

bcdi/utils/utilities.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ def in_range(point, extent):
711711
:param extent: tuple of four integers (2D case) (y_start, y_stop, x_tart, x_stop)
712712
or six integers (3D case)
713713
(z_start, z_stop, y_start, y_stop, x_tart, x_stop) representing the range of
714-
valid indices
714+
valid indices
715715
:return: True if point belongs to extent, False otherwise
716716
"""
717717
# check parameters
@@ -773,8 +773,8 @@ def linecut(array, point, direction, direction_basis="voxel", voxel_size=1):
773773
:param direction_basis: 'orthonormal' if the vector direction is expressed in
774774
an orthonormal basis. In that case it
775775
will be corrected for the different voxel sizes in each direction. 'voxel' if
776-
direction is expressed in the non-orthonormal basis defined by the voxel sizes
777-
in each direction.
776+
direction is expressed in the non-orthonormal basis defined by the voxel sizes
777+
in each direction.
778778
:param voxel_size: real positive number or tuple of 2 (for 2D) or 3 (for 3D)
779779
real positive numbers representing the voxel size in each dimension.
780780
:return: distances (1D array, distance along the linecut in the unit given by
@@ -1635,7 +1635,7 @@ def rotate_vector(
16351635
reference_axis will be discarded.
16361636
:return: tuple of three ndarrays in CXI convention z y x, each of shape
16371637
(vectors[0].size, vectors[1].size, vectors[2].size). If a single vector is
1638-
provided, returns a 1D array of size 3.
1638+
provided, returns a 1D array of size 3.
16391639
"""
16401640
# check parameters
16411641
if isinstance(vectors, np.ndarray):

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = "0.1.1"
57+
version = "0.1.2"
5858
# The full version, including alpha/beta/rc tags.
59-
release = "0.1.1"
59+
release = "0.1.2"
6060

6161
# The language for content autogenerated by Sphinx. Refer to documentation
6262
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name="bcdi",
22-
version="0.1.1",
22+
version="0.1.2",
2323
packages=find_packages(),
2424
include_package_data=True,
2525
# package_data={'bcdi/preprocessing': ['bcdi/preprocessing/alias_dict.txt']},

0 commit comments

Comments
 (0)