-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
@@ -20,6 +20,8 @@ | |||
|
|||
#include "ZeroEQPlugin.h" | |||
|
|||
#include <ZeroEQ/zeroeq/http/helpers.h> |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const auto& param
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 |
I'm saying this because (without knowing the precise details) this commit doesn't look to be in the right place. |
No description provided.