class_docstr: Test singletask/multitask data loading.
docstr: Test that datasets can be moved and loaded.
code: def test_move_load(self):
      """Test that datasets can be moved and loaded."""
      current_dir = os.path.dirname(os.path.realpath(__file__))
      base_dir = tempfile.mkdtemp()
      data_dir = os.path.join(base_dir, "data")
      moved_data_dir = os.path.join(base_dir, "moved_data")
      dataset_file = os.path.join(
          current_dir, "../../models/tests/assets/example.csv"
      )
  
      featurizer = dc.feat.CircularFingerprint(size=1024)
      tasks = ["log-solubility"]
      loader = dc.data.CSVLoader(
          tasks=tasks, feature_field="smiles", featurizer=featurizer
      )
      dataset = loader.create_dataset(dataset_file, data_dir)
  
      X, y, w, ids = (dataset.X, dataset.y, dataset.w, dataset.ids)
      shutil.move(data_dir, moved_data_dir)
  
      moved_dataset = dc.data.DiskDataset(moved_data_dir)
  
      X_moved, y_moved, w_moved, ids_moved = (
          moved_dataset.X,
          moved_dataset.y,
          moved_dataset.w,
          moved_dataset.ids,
      )
  
      np.testing.assert_allclose(X, X_moved)
      np.testing.assert_allclose(y, y_moved)
      np.testing.assert_allclose(w, w_moved)
      np.testing.assert_array_equal(ids, ids_moved)
  
file_path: deepchem/deepchem/data/tests/test_load.py
imports: import os
  import shutil
  import logging
  import unittest
  import tempfile
  import deepchem
  import numpy
label_desc: Use image node_id 1 for calling the TestLoad obj's underlying member method code with example usage: obj.test_move_load() without return types