psweep.psweep.pset_hash

Contents

psweep.psweep.pset_hash#

psweep.psweep.pset_hash(dct, method='sha1', raise_error=True, **kwds)[source]#

Reproducible hash of a dict for usage in database (hash of a pset).

We implement the convention to ignore prefix fields (book-keeping) and postfix fields (results). You can pass skip_prefix_cols / skip_postfix_cols to change that (see _get_col_filter()).