Skip to content

same names in profiles and history #5

@fherwig

Description

@fherwig

It is possible to select quantities which have the same names, such as logL to be names in profiles and history output, leading nugridse (and probably other tools) to get confused when trying to extract quantities.

Workaround:
Find doubles in cattrs and dcols:

for otherthing in see.se.cattrs:
    [print(thing) for thing in see.se.dcols if otherthing in thing]

and make sure by hand that no name appears in both history_columns.list and profiles_columns.list.

However, the proper solution would be

  1. MESA should not use the same name for different things.
  2. Since we may not be able to change that immediately, mesa_h5 should check that same-named quantities can not be selected, stop the execution with a meaningful warning with clear instructions on what to do. Alternatively the names could be changed if the change_names="True" flag is set.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions