Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Errors and problems on the 'Code examples' page. #9

Open
alex4200 opened this issue Jul 9, 2018 · 7 comments
Open

Errors and problems on the 'Code examples' page. #9

alex4200 opened this issue Jul 9, 2018 · 7 comments
Labels
documentation Inconsistency, omission or errata in the documentation

Comments

@alex4200
Copy link
Contributor

alex4200 commented Jul 9, 2018

Errors and problems found on the site http://bluebrain.github.io/RTNeuron-3.0/python/gallery.html

1.- DONE In 'Getting Started': Not clear what the 'snapshot' function does:
rtneuron.snapshot_to_notebook(rtneuron.engine.views[0])

2.- In 'Getting Started' 7th code block I get a bunch of output that is not clear to me:
````In [5]: rtneuron.display_circuit(blueconfig, 6523)
...: # This function doesn't directly accept a dictionary for the attributes, it has to be
...: # an AttributeMap instead.
...: rtneuron.display_synapses(
...: 6523, attributes=rtneuron.AttributeMap({'color': [1, 1, 0, 1], 'radius': 3}))
...: rtneuron.snapshot_to_notebook(rtneuron.engine.views[0])
...:

['/gpfs/bbp.cscs.ch/project/proj3/resources/circuits/ReleaseL2_fixed']
Trying to load blue config: /gpfs/bbp.cscs.ch/project/proj3/resources/circuits/ReleaseL2_fixed... done
Error starting Servus client: Can't setup avahi client: Daemon not running
Error starting Servus client: Can't setup avahi client: Daemon not running
Error starting Servus client: Can't setup avahi client: Daemon not running
Error starting Servus client: Can't setup avahi client: Daemon not running
Creating 1 neurons
0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
Adding 1 neurons to the scene
0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
    1533 Only unmerged synapse files found for /gpfs/bbp.cscs.ch/release/l2/2012.07.23/circuit/O1/merged_circuit/ncsFunctionalAllRecipePathways/nrn_positions.h5; consider using merged files for better performance.
 11444 No merged file found in "/gpfs/bbp.cscs.ch/release/l2/2012.07.23/circuit/O1/merged_circuit/ncsFunctionalAllRecipePathways" to build lookup index; loading data will be very slow
Also it takes quite a long time (>1 minute) which is way too long for an user. It should be mentioned on the 

3.- DONE In 'Getting Started the command
view.attributes.help()
does not show anything.

4.- DONE In 'Coloring and Modes', code block 4: Syntax error, one bracket too much:
layer_ids.append(simulation.gids('Layer%d' % i)))

5.- DONE in Meshes and models, fifth code block:
scene.addMesh(vertices, indices, colors=colors, attributes=attributes)
AttributeError: 'Scene' object has no attribute 'addMesh'
6.- DONE This happens also in 'Getting Started' Cell 12.

7.- In "Simulation playback', block 1: rtneuron.display_circuit(brain.test.blue_config, ('MiniColumn_[0-5]', attributes))
AttributeError: 'module' object has no attribute 'test'

8.- In "Simulation playback', block 1, first line (rtneuron.apply_spike_data(rtneuron.simulation, view)):
RuntimeError: IO error reading spike times file: /out.dat
Unable to test remainder of the page ...

9.- In 'Synaptic afferent projections': blue.test again not defined. Also unable to load the blueconfig defined in other pages (Error: AttributeError: 'exceptions.RuntimeError' object has no attribute 'msg').
Unable to test remainder of the page ...

@alex4200 alex4200 changed the title Errors in http://bluebrain.github.io/RTNeuron-3.0/python/gallery.html Errors and problems on the 'Code examples' page. Jul 9, 2018
@hernando
Copy link
Contributor

So far I have addressed 1, 3, 4, 5, 6 and 9. All the others that have to do with the simulation/circuit config will take longer. I wish there was a public dataset I could use instead.

@alex4200
Copy link
Contributor Author

alex4200 commented Aug 6, 2018

@hernando Item 9 does not yet seem to work. I still get the same error..

@hernando
Copy link
Contributor

hernando commented Aug 6, 2018

True, I didn't fully resolve it because blue.test is still not defined. You should be able to load some other configuration, however, I forgot to update the deployment. I'll get back to you when you can test again, should be done in a couple of hours.

@hernando
Copy link
Contributor

hernando commented Aug 6, 2018

You can try again now

@alex4200
Copy link
Contributor Author

alex4200 commented Aug 7, 2018 via email

@hernando
Copy link
Contributor

hernando commented Sep 28, 2018

Number 7 should now be resolved.

@hernando
Copy link
Contributor

hernando commented Sep 28, 2018

Sorry, it isn't. I what confused by a build recipe used in CI that contains the test data. The recipe used in deployment doesn't contain it.

@hernando hernando added the documentation Inconsistency, omission or errata in the documentation label Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Inconsistency, omission or errata in the documentation
Projects
None yet
Development

No branches or pull requests

2 participants