Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweinold committed Aug 22, 2024
1 parent 3cbeb27 commit 7982036
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bw2io/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,15 @@ def add_example_database(overwrite=True, searchable=True):
strip_biosphere_exc_locations,
)

method =

if "Mobility example" in databases:
if not overwrite:
print("Example already imported, use `overwrite=True` to delete")
return
else:
del databases["Mobility example"]
parameters.new_project_parameters(data=[])
if ("IPCC", "simple") in methods:
del methods[("IPCC", "simple")]

Expand Down

0 comments on commit 7982036

Please sign in to comment.