Skip to content

Commit

Permalink
fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-zieba committed Feb 21, 2024
1 parent 7632107 commit 33ca9d8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.10"]

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pacman
version = 0.0.1
version = 0.4.0
author = Sebastian Zieba
author_email = zieba@mpia.de
description = Pipeline for reduction and analysis of HST/WFC3 G102 and G141 data
Expand All @@ -22,7 +22,7 @@ package_dir =
=src
packages = find:
include_package_data = true
python_requires= >=3.7
python_requires= >=3.8

# Example of how to add dependencies:
install_requires =
Expand Down
2 changes: 1 addition & 1 deletion src/pacman/s10_direct_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ def run10(eventlabel, workdir: Path, meta=None):
# Save results
print('Saving Metadata')
me.saveevent(meta, meta.workdir / f'WFC3_{meta.eventlabel}_Meta_Save', save=[])
print('tmp: ', 2+3)
print('tmp: ', 2+6)
print('Finished s10 \n')
return meta
4 changes: 2 additions & 2 deletions tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
from pacman.lib.gaussfitter import gaussfit as gaussfit
from pacman.lib import optextr

#src_dir = Path.cwd() / 'src'
#sys.path.insert(0, src_dir)
src_dir = Path.cwd() / 'src'
sys.path.insert(0, src_dir)

# HACK: Sets the encoding to utf-8 for the Github tests.
sys.stdout.reconfigure(encoding='utf-8')
Expand Down

0 comments on commit 33ca9d8

Please sign in to comment.