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

Fixed access to simulation data #204

Merged
merged 2 commits into from
Sep 15, 2017
Merged

Fixed access to simulation data #204

merged 2 commits into from
Sep 15, 2017

Conversation

favreau
Copy link
Member

@favreau favreau commented Sep 13, 2017

This is a temporary fix. The opening of the circuit within Brayns needs to be refactored so that the code appears only once in the source.

Copy link
Contributor

@hernando hernando left a comment

Choose a reason for hiding this comment

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

Do you think you can easily submit a real fix instead of the hotfix you need for the movie? I fear that this will fall down in the list of priorities and it will not be addressed eventually.

@favreau
Copy link
Member Author

favreau commented Sep 13, 2017

@hernando, I know, I was not sure actually. I don't think this will be lost, but the whole data access in Brayns is a larger discussion that will determine the final implementation. Typically, data should be loaded in a asynchronous way and the connection to the data source should be kept alive for as long as Brayns is running. Implementing all this properly is more work than it seems and not in the current priorities, so I would stick to the hot fix for now, but I am happy do discuss a better hot fix if you want?

@tribal-tec
Copy link
Contributor

What about doing _loadCompartmentReport() as part of _loadCircuitConfiguration() in Brayns::_loadData()? This way you can pass the GIDs from the circuit loading to the compartment report initialization. Unless you see a point in loading compartment reports w/o loading a circuit, but I think such case does not make sense.

@favreau
Copy link
Member Author

favreau commented Sep 13, 2017

@tribal-tec Good idea, let me give it a try!

@favreau favreau merged commit 062f861 into BlueBrain:master Sep 15, 2017
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.

3 participants