class_docstr: Tests for SmilesToSeq featurizers.
class_docstr_tok: ["Tests","for","SmilesToSeq","featurizers","."]
docstr: Setup.
docstr_tok: ["Setup","."]
code: def setUp(self):
      """Setup."""
      pad_len = 5
      max_len = 35
      filename = os.path.join(
          os.path.dirname(__file__), "data", "chembl_25_small.csv"
      )
      char_to_idx = create_char_to_idx(filename, max_len=max_len)
      self.feat = SmilesToSeq(
          char_to_idx=char_to_idx, max_len=max_len, pad_len=pad_len
      )
  
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 1 for calling the TestSmilesToSeq obj's underlying member method code with example usage: obj.setUp() without return types