docstr: Inconsistent behavior when reading from HDF5 or filepaths in DataGroups.
          
docstr_tok: ["Inconsistent","behavior","when","reading","from","HDF5","or","filepaths","in","DataGroups","."]
code: def __init__(self, label):
      """Inconsistent behavior when reading from HDF5 or filepaths in DataGroups."""
  
      self.label = label
      self.augmentations = []
      self.data = {}
      self.cases = []
      self.case_num = 0
  
      # HDF5 variables
      self.source = None
      self.data_casenames = None
      self.data_affines = None
  
      # TODO: More distinctive naming for "base" and "current" cases.
      self.preprocessed_case = None
      self.preprocessed_affine = None
      self.base_case = None
      self.base_affine = None
  
      self.augmentation_cases = [None]
      self.augmentation_strings = [""]
      self.preprocessing_data = []
  
      self.data_storage = None
      self.casename_storage = None
      self.affine_storage = None
  
      self.output_shape = None
      self.base_shape = None
  
file_path: DeepNeuro/deepneuro/data/data_group.py
imports: import numpy
  from deepneuro.utilities.conversion import read_image_files
label_desc: Use image node_id 1 to create a new DataGroup object from inherited base classes: object with example: obj = DataGroup(label)