Skip to content

Commit

Permalink
actual fix
Browse files Browse the repository at this point in the history
  • Loading branch information
avanti.shrikumar authored and avanti.shrikumar committed Jan 28, 2024
1 parent 6cfa0dd commit 178db48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modisco/core.py
Expand Up @@ -774,7 +774,7 @@ def compute_subclusters_and_embedding(self, pattern_comparison_settings,
distmat_sp.sort_indices()
if (compute_embedding):
twod_embedding = sklearn.manifold.TSNE(
perplexity=min(perplexity, distmat_sp.shape[0]),
perplexity=min(perplexity, distmat_sp.shape[0]-1),
metric='precomputed',
init="random",
verbose=3, random_state=1234).fit_transform(distmat_sp)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -6,7 +6,7 @@
description='TF MOtif Discovery from Importance SCOres',
long_description="""Algorithm for discovering consolidated patterns from base-pair-level importance scores""",
url='https://github.com/kundajelab/tfmodisco',
version='0.5.16.4',
version='0.5.16.4.1',
packages=find_packages(),
package_data={
'': ['cluster/phenograph/louvain/*convert*', 'cluster/phenograph/louvain/*community*', 'cluster/phenograph/louvain/*hierarchy*']
Expand Down

0 comments on commit 178db48

Please sign in to comment.