Skip to content

Commit

Permalink
[build] resolve tabulate error by version rollback
Browse files Browse the repository at this point in the history
There is a known issue with newer versions of tabulate that result in `AttributeError: 'str' object has no attribute 'name'` (see cov-lineages/pangolin#489). To resolve this error, environment specs have been modified to specify tabulate==0.8.10.
  • Loading branch information
christinehc committed Nov 5, 2022
1 parent 1a85172 commit b27c408
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- seaborn
- scikit-learn
- snakemake == 7.0
- tabulate == 0.8.10
- umap-learn
- hdbscan
- pip
Expand Down
1 change: 1 addition & 0 deletions environment_BSF.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- seaborn
- scikit-learn
- snakemake == 7.0
- tabulate == 0.8.10
- umap-learn
- hdbscan
- pip
Expand Down
1 change: 1 addition & 0 deletions environment_Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- seaborn
- scikit-learn
- snakemake-minimal == 7.0
- tabulate == 0.8.10
- umap-learn
- hdbscan
- pip
Expand Down
25 changes: 13 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# biopython
# matplotlib
# numpy >= 1.22.3
# numba >= 0.56
# pandas
# seaborn
# scipy
# scikit-learn
# snakemake == 7.0
# scikit-learn
# umap-learn
# hdbscan
biopython
matplotlib
numpy >= 1.22.3
numba >= 0.56
pandas
seaborn
scipy
scikit-learn
snakemake == 7.0
scikit-learn
tabulate == 0.8.10
umap-learn
hdbscan

0 comments on commit b27c408

Please sign in to comment.