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

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

@alex4200

Description

@alex4200

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationInconsistency, omission or errata in the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions