class_docstr: Test how loading of malformed compounds is handled.
  Called TestDrop since these compounds were silently and erroneously dropped.
docstr: Test on dataset where RDKit fails on some strings.
docstr_tok: ["Test","on","dataset","where","RDKit","fails","on","some","strings","."]
code: def test_drop(self):
      """Test on dataset where RDKit fails on some strings."""
      current_dir = os.path.dirname(os.path.realpath(__file__))
      logger.info("About to load emols dataset.")
      dataset_file = os.path.join(current_dir, "mini_emols.csv")
  
      # Featurize emols dataset
      logger.info("About to featurize datasets.")
      featurizer = dc.feat.CircularFingerprint(size=1024)
      emols_tasks = ["activity"]
  
      loader = dc.data.CSVLoader(
          tasks=emols_tasks,
          feature_field="smiles",
          featurizer=featurizer,
      )
      dataset = loader.create_dataset(dataset_file)
  
      X, y, w, ids = (dataset.X, dataset.y, dataset.w, dataset.ids)
      assert len(X) == len(y) == len(w) == len(ids)
  
imports: import os
  import logging
  import unittest
  import deepchem
label_desc: Use image node_id 1 for calling the TestDrop obj's underlying member method code with example usage: obj.test_drop() without return types