Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added CircuitConfigurationBuilder Rest API #202

Merged
merged 3 commits into from
Sep 5, 2017
Merged

Conversation

favreau
Copy link
Member

@favreau favreau commented Sep 5, 2017

No description provided.

@@ -20,6 +20,8 @@

#include "ZeroEQPlugin.h"

#include <ZeroEQ/zeroeq/http/helpers.h>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't work if ZeroEQ package is in an installed location.
#include <zeroeq/http/helpers.h>

blueConfig << param << std::endl;
}
blueConfig << "}" << std::endl;
blueConfig.close();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make a second function:
bool _writeBlueConfigFile(const std::string& filename, const strings& params);

::zeroeq::http::Code::SERVICE_UNAVAILABLE);

blueConfig << "Run Default" << std::endl << "{" << std::endl;
for (auto param : params)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const auto& param

@favreau favreau merged commit 6c721da into BlueBrain:master Sep 5, 2017
@hernando
Copy link
Contributor

hernando commented Sep 5, 2017

I don't know if this is a can of worms that we want to open now, but I think that CircuitConfig are already being registered in the neuroinformatics platform with unique IDs and that you can get either the path or the text from it. I'd make sense to track what's the progress there and consider adding support for this in Brion or viztools

@hernando
Copy link
Contributor

hernando commented Sep 5, 2017

I'm saying this because (without knowing the precise details) this commit doesn't look to be in the right place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants