biocrnpyler.utils.general

Functions

all_comb(input_list)

combine_dictionaries(dict1, dict2)

append lists that share the same key, and add new keys WARNING: this only works if the dictionaries have values that are lists

member_dictionary_search(member, dictionary)

searches through a 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 through a dictionary for keys relevant to the given data member. 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.