Skip to content

Error when trying to update BOF step 1 (1.8) #30

Description

@Christiansj83

AttributeError Traceback (most recent call last)
in ()
----> 1 bofdat_step1 = update.make_new_BOF(model_so,False,True,dna_coefficients,rna_coefficients,protein_coefficients,)

~/.local/lib/python3.6/site-packages/BOFdat-0.1.7-py3.6.egg/BOFdat/util/update.py in make_new_BOF(model, update_model, update_NGAM, *args, **kwargs)
159 ppi_coeff, h2o_coeff, atp_coeff = [], [], []
160 remove_keys = []
--> 161 for k, v in base_biomass.iteritems():
162 if k.id == 'ppi_c':
163 ppi_coeff.append(v)

AttributeError: 'dict' object has no attribute 'iteritems'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions