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 given name of feature generator is not in the list of available generators
docstr_tok: ["Test","for","generator","when","given","name","of","feature","generator","is","not","in","the","list","of","available","generators"]
code: def test_generator_invalid_name(self):
      """
      Test for generator when given name of feature generator is not in the list of available generators
      """
      global_features = generate_global_features(
          self.mol[0], self.feature_generators[0]
      )
      assert (global_features == np.empty(0)).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 2 for calling the TestGlobalFeatureGenerator obj's underlying member method code with example usage: obj.test_generator_invalid_name() without return types