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

Changed warning trace to error if color scheme by layer is choosen for MVD2 circuits #510

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

favreau
Copy link
Member

@favreau favreau commented Aug 13, 2018

No description provided.

@@ -307,10 +307,10 @@ class CircuitLoader::Impl
}
catch (...)
{
BRAYNS_WARN << "Only MVD2 format is currently supported by Brion "
Copy link
Contributor

Choose a reason for hiding this comment

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

Just print the message if ' Color scheme by layer' was requested? Then it should be an error.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fair enough.

Copy link
Contributor

Choose a reason for hiding this comment

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

Now the commit message and the PR message don't match anymore.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you do this check in the try/catch and not before? This hides other exceptions then.

@favreau favreau changed the title Changed warning trace to debug to avoid confusion for HBP users Changed warning trace to error if color scheme by layer is choosen for MVD2 circuits Aug 13, 2018
@favreau favreau force-pushed the master branch 4 times, most recently from 6078776 to 59c051b Compare August 13, 2018 15:51
@favreau favreau merged commit 013d63d into BlueBrain:master Aug 13, 2018
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