Closed dbrakenhoff closed 1 year ago
When adding a stress with a metadata dictionary containing 'name' as a key:
pstore.add_stress(s, "my_name", kind="prec", metadata={"name": "not_what_i_intendend"})
The resulting pstore.stresses DataFrame uses the metadata name, and not the name passed when adding the stress as the index:
pstore.stresses
kind name not_what_i_intended prec
I should be seeing my_name there, regardless of the metadata dictionary.
Fixed in #88
When adding a stress with a metadata dictionary containing 'name' as a key:
The resulting
pstore.stresses
DataFrame uses the metadata name, and not the name passed when adding the stress as the index:I should be seeing my_name there, regardless of the metadata dictionary.