Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Oct 10, 2024
2 parents 10f8557 + 718ea6d commit c969395
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 50 deletions.
2 changes: 1 addition & 1 deletion premise/fuels.py
Original file line number Diff line number Diff line change
Expand Up @@ -2352,7 +2352,7 @@ def generate_regional_fuel_market(
# so that the overall composition maintains
# the same average LHV
amount = supplier_share * (
activity["lhv"] / self.fuels_specs[prod_var]["lhv"]
activity["lhv"] / self.fuels_specs[prod_var]["lhv"]
)

lhv = self.fuels_specs[prod_var]["lhv"]
Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei310_EN15804.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei310_conseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei310_cutoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei38_conseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei38_cutoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei39_conseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down
8 changes: 1 addition & 7 deletions tests/test_process_ei39_cutoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,7 @@ def test_brightway():
if "test3" in bw2data.databases:
del bw2data.databases["test3"]

ndb.write_db_to_brightway(
[
"test1",
"test2",
"test3"
]
)
ndb.write_db_to_brightway(["test1", "test2", "test3"])

method = [m for m in bw2data.methods if "IPCC" in m[0]][0]

Expand Down

0 comments on commit c969395

Please sign in to comment.