biocrnpyler.utils.general

Functions

all_comb(input_list)

combine_dictionaries(dict1, dict2)

Append lists that share the same key, and add new keys.

member_dictionary_search(member, dictionary)

Searches dictionary for keys relevant to the given data member.

parameter_to_value(p)

process_initial_concentration_dict(...)

recursive_parent(s)

remove_bindloc(spec_list)

Go through every species on a list and remove any 'bindloc' attributes.

rev_dir(dir)

biocrnpyler.utils.general.combine_dictionaries(dict1, dict2)[source]

Append lists that share the same key, and add new keys.

WARNING: this only works if the dictionaries have values that are lists.

Searches dictionary for keys relevant to the given data member.

Notes

Order of returning:

repr name material_type propensity name propensity partid propensity mechanism

biocrnpyler.utils.general.remove_bindloc(spec_list)[source]

Go through every species on a list and remove any ‘bindloc’ attributes.

This is used to convert monomers with a parent polymer into the correct species after combinatorial binding in things like DNAassembly and RNAassembly.