Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.
This repository was archived by the owner on Jan 4, 2024. It is now read-only.

Remove "final energy" and "technology" from OtherIndexes #57

Description

@mactyr

[technical story, no ticket]

Currently there are two OtherIndexes in the database with no associated OtherIndexesData: "final energy" and "technology". There is code in config.init_outputs_id_map that tries to skip dealing with these, though it currently skips "final_energy" rather than "final energy" so it is probably not achieving its intended purpose. It is confusing that these empty OtherIndexes (that aren't really OtherIndexes since data to define them exists in other tables) are in the database and they should be removed, along with any special-case code that deals with them.

If it turns out that these rows are absolutely required for some reason, we need to:

  1. Fix the code in init_outputs_id_map that tries to skip "final energy"
  2. Document this carefully since OtherIndexes is supposedly a user-defined table (i.e. not a system table) but these would be idiosyncratic required elements

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions