Guest User

Untitled

a guest
Aug 16th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. for k, fp in {"LCI": "lci.xlsx"}.items():
  2.  
  3. if k not in databases:
  4. imp = ExcelImporter(fp)
  5. imp.apply_strategies()
  6. imp.match_database(fields=["name", "unit", "location"])
  7. imp.match_database('ecoinvent_conseq', fields=["reference product", "name", "unit", "location"])
  8. imp.match_database('ecoinvent_conseq', fields=["name", "unit", "location"])
  9. imp.statistics()
  10. imp.write_excel()
  11. imp.write_database()
  12. database = Database('LCI')
Add Comment
Please, Sign In to add comment