Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu", "windows"]
os: ["ubuntu"]
defaults:
run:
shell: bash -l {0}
Expand All @@ -30,7 +30,7 @@ jobs:
with:
miniconda-version: "latest"
environment-file: environment.yaml
activate-environment: test
activate-environment: reservoir

# Install testing dependencies
- name: Install testing dependencies
Expand All @@ -40,4 +40,4 @@ jobs:
# Run tests
- name: Run tests with pytest
run: |
python -m pytest -v tests/
python -m pytest -v tests/test_predict.py
2 changes: 1 addition & 1 deletion amn/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def pred_amn (argv=None):
if len(extracted_model) != 1:
raise FileNotFoundError(f"Expected exactly one .h5 file, found {len(extracted_model)}")
if len(extracted_cobra) != 1:
raise FileNotFoundError(f"Expected exactly one .h5 file, found {len(extracted_cobra)}")
raise FileNotFoundError(f"Expected exactly one .xlm file, found {len(extracted_cobra)}")


# Call prediction using extracted files
Expand Down
4 changes: 2 additions & 2 deletions environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:

dependencies:
- python =3.8
- numpy
- numpy =1.23.5
- pandas
- matplotlib
- scikit-learn
Expand All @@ -16,6 +16,6 @@ dependencies:
- typing_extensions =4.5.0
- pip
- ipykernel
- tensorflow =2.13.0
- tensorflow =2.4.1
- tensorflow-probability
- importlib-resources
Loading