class_docstr: Test MXMNetFeaturizer.
class_docstr_tok: ["Test","MXMNetFeaturizer","."]
docstr: Test for featurization of "C" using `MXMNetFeaturizer` class.
  It checks whether node_pos_features are handled properly.
docstr_tok: ["Test","for","featurization","of","``","C","''","using","`","MXMNetFeaturizer","`","class",".","It","checks","whether","node_pos_features","are","handled","properly","."]
code: def test_node_pos_features(self):
      """
      Test for featurization of "C" using `MXMNetFeaturizer` class.
      It checks whether node_pos_features are handled properly.
      """
      smile = ["C"]
      pos_x1 = [np.array([-0.0127, 0.0022, 1.0117, -0.5408, -0.5238])]
      pos_y1 = [np.array([1.0858, -0.0060, 1.4638, 1.4475, 1.4379])]
      pos_z1 = [np.array([0.0080, 0.0020, 0.0003, -0.8766, 0.9064])]
  
      featurizer = dc.feat.molecule_featurizers.mxmnet_featurizer.MXMNetFeaturizer(
          is_adding_hs=True
      )
      graph_feat = featurizer.featurize(
          smile, pos_x=pos_x1, pos_y=pos_y1, pos_z=pos_z1
      )
      assert isinstance(graph_feat[0].node_pos_features, np.ndarray)
      assert np.allclose(
          graph_feat[0].node_pos_features, node_pos, atol=1e-3
      )
  
file_path: deepchem/deepchem/feat/tests/test_mxmnet_featurizer.py
imports: import deepchem
  import numpy
  import unittest
label_desc: Use image node_id 6 for calling the TestMXMNetFeaturizer obj's underlying member method code with example usage: obj.test_node_pos_features() without return types