NREL / flasc

A rich floris-driven suite for SCADA analysis
https://nrel.github.io/flasc/
BSD 3-Clause "New" or "Revised" License
32 stars 18 forks source link

Bugfix/two small issues #56

Closed paulf81 closed 1 year ago

paulf81 commented 1 year ago

Yes, ready

Feature or improvement description Found two small issues with block bootstrapping and using colors. In the color case, if you supplied some but not all colors, the code quietly reverts to default colors, adding a warning now to explain. In bootstrapping, for wd with just 1 point, this triggered an error and a better approach I think is just revert to normal bootstrapping whenever the number of blocks is more than the number of points (what happens effectively anyway)

Such small changes going to go ahead and merge directly