Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kvieta1990 committed Jun 4, 2023
1 parent 2573a70 commit 1a6d9b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ jobs:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
IS_RC: ${{ contains(github.ref, 'rc') }}
run: |
pip uninstall -y urllib3
pip install --upgrade urllib3
conda install -y anaconda-client conda-build conda-verify
cd conda.recipe
CONDA_LABEL="main"
Expand Down
4 changes: 3 additions & 1 deletion pystog/pre_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
This module is for some pre-processing of data
"""

import numpy as np


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

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

0 comments on commit 1a6d9b1

Please sign in to comment.