Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jan 2, 2025
1 parent 57a8dd1 commit efd16e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/libs/antares/study/parts/short-term-storage/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ bool STStorageInput::createSTStorageClustersFromIniFile(const fs::path& path)

static void loadHours(const std::string& hoursStr, AdditionalConstraints& additionalConstraints)
{
//
// std::stringstream ss(value.c_str());
// std::string hour;
// while (std::getline(ss, hour, ','))
// {
// int hourVal = std::stoi(hour);
// constraint.hours.insert(hourVal);
// }

// Split the `hours` field into multiple groups
std::regex groupRegex(R"(\[(.*?)\])");
// Match each group enclosed in square brackets
Expand Down Expand Up @@ -145,7 +136,6 @@ bool STStorageInput::loadAdditionalConstraints(const fs::path& parentPath)

if (key == "cluster")
{
// TODO do i have to transform the name to id? TransformNameIntoID
std::string clusterName;
value.to<std::string>(clusterName);
additionalConstraints.cluster_id = transformNameIntoID(clusterName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#define WIN32_LEAN_AND_MEAN

#include <absl/strings/internal/str_format/extension.h>
#include <filesystem>
#include <fstream>

Expand Down

0 comments on commit efd16e0

Please sign in to comment.