Skip to content

Commit

Permalink
Remove julia 1.2 from CI, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jtackm committed May 25, 2022
1 parent cbee0e0 commit 7e2e7ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
fail-fast: false
matrix:
version:
- '1.2'
- '1.6' # current LTS
- '1' # automatically expands to the latest stable 1.x release of Julia
os:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FlashWeave predicts ecological interactions between microbes from large-scale co

## Installation ##

To install Julia, please follow instructions on https://github.com/JuliaLang/julia. The preferred way is to obtain a binary from https://julialang.org/downloads/. Make sure you install Julia 1.2 or above, the versions currently supported by FlashWeave.
To install Julia, please follow instructions on https://github.com/JuliaLang/julia. The preferred way is to obtain a binary from https://julialang.org/downloads/. Make sure you install Julia 1.6 or above, the versions currently supported by FlashWeave.

In an interactive Julia session, you can then install FlashWeave after typing `]` via

Expand Down
8 changes: 5 additions & 3 deletions src/hiton.jl
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ end

## convenience function for learning local neighborhoods
function si_HITON_PC(T, data; test_name, levels=isdiscrete(test_name) ? get_levels(data) : Int[],
max_vals=isdiscrete(test_name) ? get_max_vals(data) : Int[], cor_mat=zeros(Float32, 0, 0), kwargs...)
univar_res = FlashWeave.pw_univar_neighbors(data, test_name=test_name, levels=levels, max_vals=max_vals, cor_mat=cor_mat)
FlashWeave.si_HITON_PC(T, data, levels, max_vals, cor_mat; test_name=test_name, univar_nbrs=univar_res[T], kwargs...)
max_vals=isdiscrete(test_name) ? get_max_vals(data) : Int[], cor_mat=zeros(Float32, 0, 0), n_obs_min=0, kwargs...)
univar_res = pw_univar_neighbors(data, test_name=test_name, levels=levels, max_vals=max_vals, cor_mat=cor_mat,
n_obs_min=n_obs_min)
si_HITON_PC(T, data, levels, max_vals, cor_mat; test_name=test_name, univar_nbrs=univar_res[T], n_obs_min=n_obs_min,
kwargs...)
end

0 comments on commit 7e2e7ac

Please sign in to comment.