class_docstr: Tests for SmilesToImage featurizers.
class_docstr_tok: ["Tests","for","SmilesToImage","featurizers","."]
docstr: Test SmilesToImage for a molecule which does not fit the image
docstr_tok: ["Test","SmilesToImage","for","a","molecule","which","does","not","fit","the","image"]
code: def test_smiles_to_image_long_molecule(self):
      """Test SmilesToImage for a molecule which does not fit the image"""
      featurizer = SmilesToImage(
          img_size=80, res=0.5, max_len=250, img_spec="std"
      )
      features = featurizer.featurize(self.long_molecule_smiles)
      assert features.shape == (1, 0)
  
file_path: deepchem/deepchem/feat/tests/test_smiles_featurizers.py
imports: import os
  import unittest
  import numpy
  from deepchem.feat import create_char_to_idx, SmilesToSeq, SmilesToImage
label_desc: Use image node_id 7 for calling the TestSmilesToImage obj's underlying member method code with example usage: obj.test_smiles_to_image_long_molecule() without return types