Skip to content

fix build_ensemble argument typos in example notebooks#20

Open
othertea wants to merge 1 commit intocalico:mainfrom
othertea:build_ensemble_typo
Open

fix build_ensemble argument typos in example notebooks#20
othertea wants to merge 1 commit intocalico:mainfrom
othertea:build_ensemble_typo

Conversation

@othertea
Copy link
Copy Markdown

@othertea othertea commented May 27, 2024

Description of your changes

In the example notebooks, fixes a typo by passing the correct type of argument: the list of ints [0], instead of the string '0' to SeqNN.build_ensemble(). The current argument results in an error, and [0] is as indicated in https://github.com/calico/baskerville/blob/0a3075fcf04cae747fdb1f090441f0c0ac514b90/src/baskerville/seqnn.py#L222

This closes #13.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

(If applicable) How has this been tested?

I ran the notebooks and verified the cells containing these calls run with the fix. Without this fix, running these cells results in an error.

@othertea othertea changed the title fix notebook build_ensemble typos fix build_ensemble argument typos in example notebooks May 27, 2024
@othertea othertea marked this pull request as ready for review May 27, 2024 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError in borzoi_example_eqtl_chr10_116952944_T_C.ipynb

1 participant