MCPcopy Create free account
hub / github.com/DunbrackLab/IPSAE / init_chainpairdict_zeros

Function init_chainpairdict_zeros

ipsae.py:299–300  ·  view source on GitHub ↗
(chainlist)

Source from the content-addressed store, hash-verified

297
298# Initializes a nested dictionary with all values set to 0
299def init_chainpairdict_zeros(chainlist):
300 return {chain1: {chain2: 0 for chain2 in chainlist if chain1 != chain2} for chain1 in chainlist}
301
302# Initializes a nested dictionary with NumPy arrays of zeros of a specified size
303def init_chainpairdict_npzeros(chainlist, arraysize):

Callers 1

ipsae.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected