Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 20, 2024
1 parent 0b219bd commit 4fe61e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx/install-details.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The histogram package can be installed by using pip install in editable mode cur

First, $ git clone git@github.com:neutrons/histogram-dev.git. Navigate to the root directory
of histogram-dev. Create appropriate conda environment:
$ conda env create
$ conda env create
This will create an environment using the environment.yml file.

To install the package, in the correct environment(histogram-dev)::
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The histogram package can be installed by using pip install::
Download the package at https://github.com/neutrons/histogram-dev.

To install:

$ pip install -e . --no-deps

To test, in the root directory type:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ python_files = ["*_TestCase.py","histogramTest_*.py"] #manually run python allte
filterwarnings =[
"ignore: Matplotlib is currently using ps, which is a non-GUI backend, so cannot show the figure.",
"ignore: FigureCanvasPS is non-interactive, and thus cannot be shown"
]
]
2 changes: 1 addition & 1 deletion src/histogram/ndarray/AbstractNdArray.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import tempfile
import os


class NdArray(object):
def as_(self, NdArrayTypeName):
return converters.convert(self, NdArrayTypeName)
Expand Down Expand Up @@ -260,7 +261,6 @@ def _nie(self, method):
pass # end of NdArray



# Tests have been moved into tests/histogram/ndarray/NdArray_TestCase.py

# test of interface
Expand Down

0 comments on commit 4fe61e8

Please sign in to comment.