8000 AEMO::NMI#tni_values should return Array of Hashes not an Array of Arrays of Hashes · Issue #27 · jufemaiz/aemo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
AEMO::NMI#tni_values should return Array of Hashes not an Array of Arrays of Hashes #27
Open
@jufemaiz

Description

@jufemaiz

https://github.com/jufemaiz/aemo/blob/master/lib/aemo/nmi.rb#L716

Change:

possible_values.map { |x| x['mlf_data']['loss_factors'] }

to

possible_values.map { |x| x['mlf_data']['loss_factors'] }.flatten

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0