class_docstr: Tests for SmilesToSeq featurizers.
class_docstr_tok: ["Tests","for","SmilesToSeq","featurizers","."]
docstr: Test SmilesToSeq featurization.
docstr_tok: ["Test","SmilesToSeq","featurization","."]
code: def test_smiles_to_seq_featurize(self):
      """Test SmilesToSeq featurization."""
      smiles = [
          "Cn1c(=O)c2c(ncn2C)n(C)c1=O",
          "CC(=O)N1CN(C(C)=O)C(O)C1O",
      ]
      expected_seq_len = self.feat.max_len + 2 * self.feat.pad_len
  
      features = self.feat.featurize(smiles)
      assert features.shape[0] == len(smiles)
      assert features.shape[-1] == expected_seq_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 2 for calling the TestSmilesToSeq obj's underlying member method code with example usage: obj.test_smiles_to_seq_featurize() without return types