Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
xin-huang committed Apr 15, 2024
1 parent d28a288 commit cbd41f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.9", "3.10"]
max-parallel: 5

steps:
Expand Down
2 changes: 1 addition & 1 deletion build-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- numpy
- pip
- pytest-cov
- python==3.10.14
- python==3.9
- scipy
- snakemake==7.1.1
- pip:
Expand Down
3 changes: 2 additions & 1 deletion dadi_cli/BestFit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import glob, sys
import numpy as np
from typing import Optional
from dadi_cli.Models import get_model
from dadi_cli.Pdfs import get_dadi_pdf_params

Expand All @@ -12,7 +13,7 @@ def get_bestfit_params(
delta: float,
Nclose: int = 3,
Nbest: int = 100
) -> (np.array | None):
) -> Optional[np.array]:
"""
Obtains best-fit parameters from optimization results, filters them based on log-likelihood
differences, boundaries, and ranks them, finally outputs the results to a specified file.
Expand Down
2 changes: 1 addition & 1 deletion mkdocs-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- numpy
- pip
- pytest-cov
- python==3.10.14
- python==3.9
- python-markdown-math
- scipy
- dadi
Expand Down

0 comments on commit cbd41f0

Please sign in to comment.