Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mamba-org/provision-with-micromamba to mamba-org/setup-micromamba #126

Merged
merged 3 commits into from
Dec 3, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Add micromamba to system path
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@main
with:
environment-name: dadi-cli
activate-environment: dadi-cli
Expand Down
3 changes: 2 additions & 1 deletion dadi_cli/Stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def gfunc(free_params, ns, pts):
)
# Add theta into popt
popt = np.append(popt, np.array([theta]))
f.write(f"Description\t{'\t'.join(param_names[1:])}\n")
# param_string = '\t'.join(param_names[1:])
# f.write(f"Description\t{param_string}\n")

f.write(
"Estimated 95% uncerts (theta adj), with step size "
Expand Down
4 changes: 0 additions & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ def test_plot_args():
projections = [10, 10]
resid_range = 3
vmin = 1e-5
ratio = 2.31

args = parser.parse_args(
[
Expand Down Expand Up @@ -502,8 +501,6 @@ def test_plot_args():
str(resid_range),
"--vmin",
str(vmin),
"--ratio",
str(ratio)
]
)

Expand All @@ -520,7 +517,6 @@ def test_plot_args():
assert args.projections == projections
assert args.resid_range == resid_range
assert args.vmin == vmin
assert args.ratio == ratio


def test_stat_dm_args():
Expand Down
Loading