docstr: Test a node using the SignalExtraction interface.
  Unlike interface.run(), node.run() checks the traits
docstr_tok: ["Test","a","node","using","the","SignalExtraction","interface",".","Unlike","interface.run","(",")",",","node.run","(",")","checks","the","traits"]
code: def test_signal_extr_traits_valid(self):
      """Test a node using the SignalExtraction interface.
      Unlike interface.run(), node.run() checks the traits
      """
      # run
      node = pe.Node(
          iface.SignalExtraction(
              in_file=os.path.abspath(self.filenames["in_file"]),
              label_files=os.path.abspath(
                  self.filenames["label_files"]
              ),
              class_labels=self.labels,
              incl_shared_variance=False,
          ),
          name="SignalExtraction",
      )
      node.run()
  
file_path: nipype/nipype/interfaces/tests/test_nilearn.py
imports: import os
  import numpy
  from ...testing import utils
  from ..None import nilearn
  from ...pipeline import engine
  import pytest
  import numpy.testing
label_desc: Use image node_id 9 for calling the TestSignalExtraction obj's underlying member method code with example usage: obj.test_signal_extr_traits_valid() without return types