Skip to content

Commit

Permalink
FIX Stan models compilation, FIX channel priority
Browse files Browse the repository at this point in the history
  • Loading branch information
eboileau committed Feb 13, 2023
1 parent 9f6ec64 commit 91dbe33
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
channels: bioconda,conda-forge,defaults
channel-priority: true
channel-priority: strict
auto-update-conda: true
auto-activate-base: false
activate-environment: rpbp
Expand Down
2 changes: 1 addition & 1 deletion src/rpbp/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
# Stan model instantiation
# Stan's multi-threaded processing is based on the Intel Threading Building Blocks (TBB) library,
# which must be linked to by the C++ compiler. True uses cpp_options={'STAN_THREADS': 'TRUE'}, or False.
model_inst_options = {"stan_threads": True}
model_inst_options = {"stan_threads": False}

# shared options
mcmc_shared = {
Expand Down
1 change: 0 additions & 1 deletion src/rpbp/orf_profile_construction/create_orf_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
default_num_cpus,
default_mem,
star_executable,
model_inst_options,
metagene_options,
)

Expand Down
1 change: 0 additions & 1 deletion src/rpbp/translation_prediction/predict_translated_orfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from rpbp.defaults import (
default_num_cpus,
translation_options,
model_inst_options,
metagene_options,
)

Expand Down

0 comments on commit 91dbe33

Please sign in to comment.