WISPO-POP / PowerPlots.jl

Functions plot PowerModels networks
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

data verification for vegalite #25

Closed noahrhodes closed 3 years ago

noahrhodes commented 3 years ago

Vega Lite does report errors when it doesn't work, it just won't do anything. This makes it hard to debug.

Checks should be added to make sure that the data/plot attributes are valid.

Add other data checks below...

noahrhodes commented 3 years ago

Memento sikence: https://github.com/lanl-ansi/PowerModels.jl/blob/e0f0873374f13dd47a6be2ae87c0d7f9c17eec7e/src/PowerModels.jl#L26

Erro: https://github.com/lanl-ansi/PowerModels.jl/blob/b569b2e7927bb672ff10d46c6e40195022686177/src/core/objective.jl#L26

bryanluu commented 3 years ago

@noahrhodes Is it okay if I delay this until next week? I've got a midterm this Fri (March 5) that I'd like to focus on, but am keen to get this implemented after!

bryanluu commented 3 years ago

@noahrhodes can you give me a list of invalid/valid data? For colors, is it a string representing the CSS color? Or symbol? I guess I'm just a little confused about what valid data should look like

bryanluu commented 3 years ago

Preliminary first implementation: data_verification branch

noahrhodes commented 3 years ago

Closed by #31