mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-07 08:48:51 -06:00
web: Improve CSV validation
This commit is contained in:
@@ -97,6 +97,10 @@ const ProfiledUnitsComponent = (props: ProfiledUnitsProps) => {
|
||||
props.onError(err.message);
|
||||
return;
|
||||
}
|
||||
for (const gen in newGenerators) {
|
||||
newGenerators[gen]["Type"] = "Profiled";
|
||||
}
|
||||
|
||||
const newScenario = {
|
||||
...props.scenario,
|
||||
Generators: newGenerators,
|
||||
|
||||
Reference in New Issue
Block a user