Skip to content

Top activities not working for upstream exploration of hotspots #27

@tapajyoti-ghosh

Description

@tapajyoti-ghosh

brightway2==2.3
bw-migrations==0.2
bw2analyzer==0.11.4
bw2calc==1.8.1
bw2data==3.6.2
bw2io==0.8.7
bw2parameters==0.6.6
python = 3.9
print(lca.top_activities())

File "/home/tghosh/.local/lib/python3.9/site-packages/bw2calc/lca.py", line 583, in top_activities
return ContributionAnalysis().annotated_top_processes(self, **kwargs)
File "/home/tghosh/.local/lib/python3.9/site-packages/bw2analyzer/contribution.py", line 133, in annotated_top_processes
results = [
File "/home/tghosh/.local/lib/python3.9/site-packages/bw2analyzer/contribution.py", line 137, in
lca.dicts.activity.reversed[int(index)],
AttributeError: 'LCA' object has no attribute 'dicts'

bw2analyzer==0.10 does not have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions