code: def read(filename, data_wrapper=DataWrapper):
      '''Read an SWC file and return a tuple of data, format.'''
      data = np.loadtxt(filename)
      if len(np.shape(data)) == 1:
          data = np.reshape(data, (1, -1))
      data = data[:, [X, Y, Z, R, TYPE, ID, P]]
      return data_wrapper(data, 'SWC', Nonef read(filename, data_wrapper=DataWrapper):
      '''Read an SWC file and return a tuple of data, format.'''
      data = np.loadtxt(filename)
      if len(np.shape(data)) == 1:
          data = np.reshape(data, (1, -1))
      data = data[:, [X, Y, Z, R, TYPE, ID, P]]
      return data_wrapper(data, 'SWC', None)
docs: Read an SWC file and return a tuple of data, format.