Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath Ramsundar authored and Bharath Ramsundar committed Jul 31, 2020
1 parent 89701cd commit b0c3877
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deepchem/data/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,10 +683,13 @@ class SDFLoader(DataLoader):
Examples
--------
>>> import deepchem as dc
>>> import os
>>> current_dir = os.path.dirname(os.path.realpath(__file__))
>>> featurizer = dc.feat.CircularFingerprint(size=16)
>>> loader = dc.data.SDFLoader(["LogP(RRCK)"], featurizer=featurizer, sanitize=True)
>>> dataset = loader.create_dataset(os.path.join(current_dir, "membrane_permeability.sdf"))
>>> dataset = loader.create_dataset(os.path.join(current_dir, "tests", "membrane_permeability.sdf")) # doctest:+ELLIPSIS
Reading ...
>>> len(dataset)
2
"""
Expand Down

0 comments on commit b0c3877

Please sign in to comment.