class_docstr: Test for `generate_global_features` helper function which generates global features for DMPNN featurizer
class_docstr_tok: ["Test","for","`","generate_global_features","`","helper","function","which","generates","global","features","for","DMPNN","featurizer"]
docstr: Test for generator when provided RDKit mol contains only Hydrogen atoms
docstr_tok: ["Test","for","generator","when","provided","RDKit","mol","contains","only","Hydrogen","atoms"]
code: def test_generator_hydrogen(self):
      """
      Test for generator when provided RDKit mol contains only Hydrogen atoms
      """
      global_features = generate_global_features(
          self.mol[1], self.feature_generators[2]
      )
      assert (global_features == np.zeros(2048)).all()
  
file_path: deepchem/deepchem/feat/tests/test_global_feature_generator_dmpnn.py
imports: import unittest
  import numpy
  from rdkit import Chem
  from deepchem.feat.molecule_featurizers.dmpnn_featurizer import generate_global_features
label_desc: Use image node_id 6 for calling the TestGlobalFeatureGenerator obj's underlying member method code with example usage: obj.test_generator_hydrogen() without return types