Skip to content

Commit 1a6d9b1

Browse files
committed
minor fix
1 parent 2573a70 commit 1a6d9b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ jobs:
7070
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
7171
IS_RC: ${{ contains(github.ref, 'rc') }}
7272
run: |
73-
pip uninstall -y urllib3
74-
pip install --upgrade urllib3
7573
conda install -y anaconda-client conda-build conda-verify
7674
cd conda.recipe
7775
CONDA_LABEL="main"

pystog/pre_proc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
This module is for some pre-processing of data
77
"""
88

9+
import numpy as np
10+
911

1012
class Pre_Proc:
1113
"""
@@ -63,4 +65,4 @@ def rebin(x, y, xmin, xdiv, xmax):
6365
for i in range(len(yout) - 1):
6466
yout[i] /= ynorm[i]
6567

66-
return (xout, yout[:-1])
68+
return (np.asarray(xout), np.asarray(yout[:-1]))

0 commit comments

Comments
 (0)