code: def test_dftloader():
      inputs = "deepchem/data/tests/dftdata.yaml"
      k = DFTYamlLoader()
      data = k.create_dataset(inputs)
      assert data.X.dtype == ("O")
      assert len(data) == 2
      assert ((data.X)[0]).get_weight() == 1340
      assert ((data.X)[0]).get_true_val() == 0.09194410469
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_dftloader() without return types