Skip to content

Commit

Permalink
doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath Ramsundar authored and Bharath Ramsundar committed May 11, 2020
1 parent fa09de2 commit 63dafb9
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions deepchem/feat/coulomb_matrices.py
Expand Up @@ -60,11 +60,9 @@ class CoulombMatrix(Featurizer):
>>> featurizers = dc.feat.CoulombMatrix(max_atoms=23)
>>> input_file = 'deepchem/feat/tests/data/water.sdf' # really backed by water.sdf.csv
>>> tasks = ["atomization_energy"]
>>> featurizer = dc.data.SDFLoader(tasks, featurizer=featurizers)
>>> dataset = featurizer.featurize(input_file) #doctest: +ELLIPSIS
>>> loader = dc.data.SDFLoader(tasks, featurizer=featurizers)
>>> dataset = loader.create_dataset(input_file) #doctest: +ELLIPSIS
Reading structures from deepchem/feat/tests/data/water.sdf.
...
Loading dataset from disk.
"""
conformers = True
name = 'coulomb_matrix'
Expand Down Expand Up @@ -221,11 +219,9 @@ class CoulombMatrixEig(CoulombMatrix):
>>> featurizers = dc.feat.CoulombMatrixEig(max_atoms=23)
>>> input_file = 'deepchem/feat/tests/data/water.sdf' # really backed by water.sdf.csv
>>> tasks = ["atomization_energy"]
>>> featurizer = dc.data.SDFLoader(tasks, featurizer=featurizers)
>>> dataset = featurizer.featurize(input_file) #doctest: +ELLIPSIS
>>> loader = dc.data.SDFLoader(tasks, featurizer=featurizers)
>>> dataset = loader.create_dataset(input_file) #doctest: +ELLIPSIS
Reading structures from deepchem/feat/tests/data/water.sdf.
...
Loading dataset from disk.
"""

conformers = True
Expand Down

0 comments on commit 63dafb9

Please sign in to comment.