src/utilities.py
def shape_check_hdf5(file_path):
	"""
	shape_check_hdf5(file_path)

	General purpose algorithm to check the shape the dataset in a hdf5 file 

	Parameters
	----------

	file_path:  str
		Path name of hdf5 file

	Returns
	-------

	shape_hdf5:  int, tuple
		Shape of object dataset in hdf5 file
	"""

	with tables.open_file(file_path + '.hdf5', 'r') as infile:
		shape_hdf5 = infile.root.dataset.shape

	return shape_hdf5

	shape_check_hdf5(file_path)

	General purpose algorithm to check the shape the dataset in a hdf5 file 

	Parameters
	----------

	file_path:  str
		Path name of hdf5 file

	Returns
	-------

	shape_hdf5:  int, tuple
		Shape of object dataset in hdf5 file
	
shape_check_hdf5(file_path)
General purpose algorithm to check the shape the dataset in a hdf5 file

Parameters

str
Path name of hdf5 file

Returns

int, tuple
Shape of object dataset in hdf5 file
shape_check_hdf5 ( file_path ) General purpose algorithm to check the shape the dataset in a hdf5 file Parameters str Path name of hdf5 file Returns int tuple Shape of object dataset in hdf5 file
def shape_check_hdf5(file_path):
	with tables.open_file(file_path + '.hdf5', 'r') as infile:
		shape_hdf5 = infile.root.dataset.shape
	return shape_hdf5
def shape_check_hdf5 ( file_path ) : with tables . open_file ( file_path + '.hdf5' , 'r' ) as infile : shape_hdf5 = infile . root . dataset . shape return shape_hdf5
shape_check_hdf5(file_path)
General purpose algorithm to check the shape the dataset in a hdf5 file
shape_check_hdf5 ( file_path ) General purpose algorithm to check the shape the dataset in a hdf5 file
"""
	shape_check_hdf5(file_path)

	General purpose algorithm to check the shape the dataset in a hdf5 file 

	Parameters
	----------

	file_path:  str
		Path name of hdf5 file

	Returns
	-------

	shape_hdf5:  int, tuple
		Shape of object dataset in hdf5 file
	"""
file_path