Skip to content

Commit

Permalink
Black reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Apr 2, 2024
1 parent f50c89b commit c65f079
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
24 changes: 13 additions & 11 deletions pathways/pathways.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,17 +947,19 @@ def fill_in_result_array(self, results: dict):

except:
print("summed data shape", summed_data.shape)
print(self.lca_results.loc[
{
"region": region,
"model": model,
"scenario": scenario,
"year": year,
"act_category": cat,
"location": loc,
"variable": list(variables.keys()),
}
].shape)
print(
self.lca_results.loc[
{
"region": region,
"model": model,
"scenario": scenario,
"year": year,
"act_category": cat,
"location": loc,
"variable": list(variables.keys()),
}
].shape
)

def characterize_planetary_boundaries(
self,
Expand Down
6 changes: 1 addition & 5 deletions pathways/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,7 @@ def create_lca_results_array(
}

if use_distributions is True:
coords.update(
{
"quantile": [0.05, 0.5, 0.95]
}
)
coords.update({"quantile": [0.05, 0.5, 0.95]})

dims = (
len(coords["act_category"]),
Expand Down

0 comments on commit c65f079

Please sign in to comment.