chan-csu / ADToolbox

AD Toolbox: A python package for modeling and optimization on anaerobic digestion process
1 stars 2 forks source link

Issue when trying to use the build-protein-db command in the Database module #8

Closed sstenmark45 closed 6 months ago

sstenmark45 commented 7 months ago

@ParsaGhadermazi I am receiving an error when:

ADToolbox Database build-protein-db         

Error message:

 File "...", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "...", line 160, in main
    ecs=core.Database.ec_from_csv(configs.Database().csv_reaction_db)
        ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Database' has no attribute 'ec_from_csv'
ParsaGhadermazi commented 6 months ago

Fixed