Skip to content

Commit

Permalink
appease stickler
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Feb 18, 2019
1 parent 95a5208 commit 391ea23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyam/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ def _apply_defaults(df, defaults):
# only need to fill in defaults
if 'variable' in df.columns:
return IamDataFrame(_apply_defaults(df, defaults))

# variables are in columns and melt operation needed
cols = list(set(df.columns) - set(GROUP_IDX))
idx = list(set(df.columns) & set(GROUP_IDX))
Expand All @@ -1547,4 +1547,3 @@ def _apply_defaults(df, defaults):
df = pd.concat(dfs)
df = _apply_defaults(df, defaults)
return IamDataFrame(_apply_defaults(df, defaults))

0 comments on commit 391ea23

Please sign in to comment.