verdict.py
def from_json(
        cls,
        filepath,
        create_nonexisting = False,
    ):
        '''Load a HDF5 file as a verdict Dict.

        Args:
            filepath (str):
                Location to load the hdf5 file from.

            create_nonexisting (bool):
                If True and no data to load, return an empty dictionary.
        '''

        if not os.path.exists( filepath ) and create_nonexisting:
            return Dict({})

        with open( filepath ) as f:
            data = json.load( f )

        return Dict( data )
Load a HDF5 file as a verdict Dict.

        Args:
            filepath (str):
                Location to load the hdf5 file from.

            create_nonexisting (bool):
                If True and no data to load, return an empty dictionary.
        
Load a HDF5 file as a verdict Dict.
Load a HDF5 file as a verdict Dict .
def from_json(
        cls,
        filepath,
        create_nonexisting = False,
    ):
        if not os.path.exists( filepath ) and create_nonexisting:
            return Dict({})
        with open( filepath ) as f:
            data = json.load( f )
        return Dict( data )
def from_json ( cls , filepath , create_nonexisting = False , ) : if not os . path . exists ( filepath ) and create_nonexisting : return Dict ( { } ) with open ( filepath ) as f : data = json . load ( f ) return Dict ( data )
Load a HDF5 file as a verdict Dict.
Load a HDF5 file as a verdict Dict .
'''Load a HDF5 file as a verdict Dict.

        Args:
            filepath (str):
                Location to load the hdf5 file from.

            create_nonexisting (bool):
                If True and no data to load, return an empty dictionary.
        '''
cls
filepath
Location to load the hdf5 file from.
Location to load the hdf5 file from .
create_nonexisting
If True and no data to load, return an empty dictionary.
If True and no data to load return an empty dictionary .