Source code for schrodinger.application.matsci.hdfutils
"""
Contains functionality related to hdf files
Copyright Schrodinger, LLC. All rights reserved.
"""
[docs]def generate_hierarchial_key(*args):
"""
Generates a hierarchial key for a hdf file
:type args: list
:param args: the list of strings which will form the key
:rtype: str
:return: the hierarchial key
"""
# we use '/' to generate a key to maintain the
# hierarchial data format of hdf file
return '/'.join(args)