Skip to content

Commit

Permalink
Update metadata keys
Browse files Browse the repository at this point in the history
  • Loading branch information
kboone committed Apr 23, 2019
1 parent dbb891c commit c392892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado/plasticc.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def update_plasticc_names(metadata, observations, datsaet_kind):
if kind == 'training':
metadata_name_map['hostgal_specz'] = 'redshift'
else:
raise
raise AvocadoException("Unknown dataset kind %s!" % kind)

metadata.rename(metadata_name_map, axis=1, inplace=True)

Expand Down

0 comments on commit c392892

Please sign in to comment.