Skip to content

Commit

Permalink
Cythonerror (#130)
Browse files Browse the repository at this point in the history
* Fix cython compile time error

* Reorder imports

* Trim __init__.py imports

* Update invocation of pip
  • Loading branch information
jimc101 authored Nov 22, 2023
1 parent 62bd30d commit 9366e01
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pylag-package-conda-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
- name: Install local changes
shell: bash -l {0}
run: |
pip install .
python -c "import pylag; print(f'PyLag Git commit: {pylag.version.git_revision}')"
python -m pip install .
# - name: Lint
# shell: bash -l {0}
# run: |
Expand Down
5 changes: 0 additions & 5 deletions pylag/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,5 @@

# Module imports
from pylag import version
from pylag import mock
from pylag import random
from pylag import grid_metrics
from pylag import interpolation
from pylag import math
from pylag import data_types_python

2 changes: 1 addition & 1 deletion pylag/grid_metrics.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def create_fvcom_grid_metrics_file(fvcom_file_name: str,
variable_names: Optional[dict]={},
obc_file_name: Optional[str]=None,
obc_file_delimiter: Optional[str]=' ',
central_latitude: Optional[int]=0.0,
central_latitude: Optional[float]=0.0,
grid_metrics_file_name: Optional[str]='./grid_metrics.nc'):
"""Create FVCOM grid metrics file
Expand Down

0 comments on commit 9366e01

Please sign in to comment.