Skip to content

Commit

Permalink
Merge pull request #147 from sami2py/jklenzing-patch-1
Browse files Browse the repository at this point in the history
BUG: windows path
  • Loading branch information
jklenzing committed Jun 1, 2021
2 parents d0d9666 + 7b1dcd2 commit dad45dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -57,7 +57,7 @@ jobs:
run: flake8 . --count --exit-zero --max-complexity=10 --statistics

- name: Test with pytest
run: pytest --cov=sami2py/
run: pytest -vs --cov=sami2py/

- name: Publish results to coveralls
if: ${{ matrix.os == 'ubuntu-latest'}}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [0.2.3] - 2021-04-05
## [0.2.3] - 2021-05-31
- Updated Variable and datasest attributes for netcdf export
- Added default drift fourier coefficient array accessable from run model
- Using minimum test version of numpy in accordance with NEP 29
Expand All @@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed a bug in compiling readthedocs
- added default exb file: setup.py generates a exb.inp file
- Use integer for longitude in directory structure
- Improved windows compatibility
- Added ability to input custom ExB Drifts as a Fourier Series
- return_fourier function in utils.py
- plot_exb function in _core_class.py
Expand Down
3 changes: 2 additions & 1 deletion sami2py/_core.py
Expand Up @@ -273,7 +273,8 @@ def run_model(tag='model_run', lat=0, lon=0, alt=300, year=2018, day=1,
_generate_namelist(info)
archive_path = generate_path(tag, lon, year, day, test)
if not test:
_ = subprocess.check_call('./sami2py.x')
runcmd = os.path.join('.', 'sami2py.x')
_ = subprocess.check_call(runcmd)

_archive_model(archive_path, clean, fejer, fmtout, outn)

Expand Down

0 comments on commit dad45dc

Please sign in to comment.