Commit e0b9d461 authored by nd-02110114's avatar nd-02110114
Browse files

👌 fix for review

parent 68296547
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -407,8 +407,8 @@ def _get_file_type(input_file: str) -> str:
def save_to_disk(dataset: Any, filename: str, compress: int = 3):
  """Save a dataset to file.

  Paramters
  ---------
  Parameters
  ----------
  dataset: str
    A data saved
  filename: str
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ _max_print_size = 1000


def get_max_print_size() -> int:
  """Return the max print size for a datset.
  """Return the max print size for a dataset.

  If a dataset is large, printing `self.ids` as part of a string
  representation can be very slow. This field controls the maximum
+21 −1
Original line number Diff line number Diff line
@@ -5,14 +5,27 @@ maybe be of independent interest to users since they deal with some
tricky aspects of processing scientific datatypes.

Data Utilities
-------------
--------------

Array Utilities
^^^^^^^^^^^^^^^

.. autofunction:: deepchem.utils.data_utils.pad_array

Data Directory
^^^^^^^^^^^^^^^
The DeepChem data directory is where downloaded MoleculeNet datasets are stored.

.. autofunction:: deepchem.utils.data_utils.get_data_dir

URL Handling
^^^^^^^^^^^^

.. autofunction:: deepchem.utils.data_utils.download_url

File Handling
^^^^^^^^^^^^^

.. autofunction:: deepchem.utils.data_utils.untargz_file

.. autofunction:: deepchem.utils.data_utils.unzip_file
@@ -183,6 +196,13 @@ Graph Convolution Utilities
Debug Utilities
---------------

Print Threshold
^^^^^^^^^^^^^^^

The printing threshold controls how many dataset elements are printed
when :code:`dc.data.Dataset` objects are converted to strings or
represnted in the IPython repl.

.. autofunction:: deepchem.utils.debug_utils.get_print_threshold

.. autofunction:: deepchem.utils.debug_utils.set_print_threshold