Skip to content

Commit

Permalink
Merge pull request #403 from chemprop/bugfix/tsne_script
Browse files Browse the repository at this point in the history
Fix t-SNE script
  • Loading branch information
kevingreenman committed Jun 2, 2023
2 parents 02a6f76 + 4d33030 commit 256fbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def compare_datasets_tsne(args: Args):
# Compute Morgan fingerprints
print('Computing Morgan fingerprints')
morgan_generator = get_features_generator('morgan')
morgans = [morgan_generator(smile) for smile in tqdm(smiles, total=len(smiles))]
morgans = np.array([morgan_generator(smile) for smile in tqdm(smiles, total=len(smiles))])

print('Running t-SNE')
start = time.time()
Expand Down

0 comments on commit 256fbd9

Please sign in to comment.