Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
b141641
docs(pynml): document get_lems_model_with_units
sanjayankur31 Jul 7, 2021
cd66e8e
chore(pynml): import the typing module for type checking
sanjayankur31 Jul 7, 2021
178cf81
docs(pynml): document split_nml2_quantity
sanjayankur31 Jul 7, 2021
3dfd9d0
docs(pynml): document get_value_in_si
sanjayankur31 Jul 7, 2021
f7dfcf5
chore(pynml): specifically catch a ValueError
sanjayankur31 Jul 7, 2021
0e48b7e
docs(pynml): document convert_to_units function
sanjayankur31 Jul 7, 2021
48e1600
refactor(pynml): removes unneeded verbose argument
sanjayankur31 Jul 7, 2021
999f97c
chore(pynml): remove unused import
sanjayankur31 Jul 7, 2021
cb3a7e7
refactor(pynml): remove unused default argument
sanjayankur31 Jul 7, 2021
131af2f
fix(pynml): remove unused return value
sanjayankur31 Jul 7, 2021
9f8085c
docs(pynml): document generate_lemsgraph
sanjayankur31 Jul 7, 2021
552ef0d
docs(pynml): document validate_neuroml1 function
sanjayankur31 Jul 7, 2021
11ae9f6
docs(pynml): document validate_neuroml2 function
sanjayankur31 Jul 7, 2021
8c922bc
docs(pynml): document read_neuroml2_file function
sanjayankur31 Jul 7, 2021
5d57503
docs(pynml): complete documentation of read_neuroml2_file
sanjayankur31 Jul 7, 2021
9ce359b
docs(python): document quick_summary
sanjayankur31 Jul 7, 2021
3513d98
docs(pynml): document summary function
sanjayankur31 Jul 7, 2021
1b3f4d8
docs(pynml): document cell_info* functions
sanjayankur31 Jul 7, 2021
eea098b
docs(pynml): document write_neuroml2_file function
sanjayankur31 Jul 7, 2021
79a7f0b
docs(pynml): add type information to read_lems_file
sanjayankur31 Jul 7, 2021
4f9ae9e
docs(pynml): document write_lems_file function
sanjayankur31 Jul 7, 2021
5b57a44
docs(pynml): add typing information to DEFAULTS
sanjayankur31 Jul 7, 2021
6e76ae9
docs(pynml): document run_lems_with_jneuroml
sanjayankur31 Jul 7, 2021
bc2317e
docs(pynml): document nml2_to_svg
sanjayankur31 Jul 7, 2021
a3e75d0
docs(pynml): document nml2_to_png
sanjayankur31 Jul 7, 2021
b375cbb
docs(pynml): document include_string
sanjayankur31 Jul 7, 2021
3959d56
docs(pynml): document gui_string
sanjayankur31 Jul 7, 2021
1fea94a
docs(pynml): document run_lems_with_jneuroml_neuron
sanjayankur31 Jul 7, 2021
c90b116
docs(pynml): document run_lems_with_jneuroml_netpyne
sanjayankur31 Jul 7, 2021
a6064fb
docs(pynml): document run_lems_with_jneuroml_brian2
sanjayankur31 Jul 7, 2021
ccf8e03
docs(pynml): document reload_saved_data
sanjayankur31 Jul 7, 2021
b2c4e24
docs(pynml): document get_next_hex_color
sanjayankur31 Jul 7, 2021
457acbc
docs(pynml): document confirm_file_exists
sanjayankur31 Jul 7, 2021
2b8319e
docs(pynml): add type information to confirm_neuroml_file
sanjayankur31 Jul 7, 2021
9d79c35
docs(pynml): add type information to confirm_lems_file
sanjayankur31 Jul 7, 2021
e8ad79c
docs(pynml): document get_path_to_jnml_jar
sanjayankur31 Jul 7, 2021
5c391a2
docs(pynml): document run_jneuroml
sanjayankur31 Jul 7, 2021
ee9e2be
docs(pynml): document run_jneuroml_with_realtime_output
sanjayankur31 Jul 7, 2021
ca0215a
docs(pynml): document execute_command_in_dir_with_realtime_output
sanjayankur31 Jul 7, 2021
2fc9daa
fix(pynml): correct return type annotation
sanjayankur31 Jul 7, 2021
e05f6d5
fix(pynml): fix type annotation for function argument
sanjayankur31 Jul 7, 2021
029dfe6
docs(pynml): document execute_command_in_dir
sanjayankur31 Jul 7, 2021
5b259e1
docs(pynml): update docs for generate_plot
sanjayankur31 Jul 7, 2021
ecdedd4
docs(pynml): document reload_standard_dat_file
sanjayankur31 Jul 7, 2021
563d043
refactor(pynml): use with .. as idiom
sanjayankur31 Jul 7, 2021
35217bd
docs(pynml): document extract_annotations
sanjayankur31 Jul 7, 2021
d2bf85e
fix(examples): update function call
sanjayankur31 Jul 7, 2021
c78696a
fix(docs): add source directory to sys.path
sanjayankur31 Jul 7, 2021
e5cd8de
docs(pynml): add blank lines between sub-lists in doc string
sanjayankur31 Jul 7, 2021
aab0558
chore(typing): correct typing annotation
sanjayankur31 Jul 7, 2021
ff95e23
fix(pynml): correct some typing annotations
sanjayankur31 Jul 7, 2021
2fc2796
fix: update requirements for docs
sanjayankur31 Jul 7, 2021
a92b67c
fix: remove cv2 from docs requirements
sanjayankur31 Jul 7, 2021
e714d55
fix(docs): add more packages to docs requirements for RTD
sanjayankur31 Jul 7, 2021
e17b1a4
fix(docs): add even more packages to docs requirements
sanjayankur31 Jul 7, 2021
d88eab0
fix(MakeMovie): update function call to use new cv2 API
sanjayankur31 Jul 7, 2021
e56820f
fix(docs): use git URL for neurotune
sanjayankur31 Jul 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
sphinxcontrib-bibtex
lxml
airspeed
opencv-python
libneuroml
pyelectro
matplotlib
scipy
pylems
graphviz
argparse
neuromllite
git+https://github.com/NeuralEnsemble/neurotune.git#egg=neurotune
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import os
import sys
sys.path.insert(0, os.path.abspath('../../'))


# -- Project information -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def test_conversion(nml2_quantity, unit, expected, should_fail=False):
try:
val = pynml.convert_to_units(nml2_quantity, unit, True)
val = pynml.convert_to_units(nml2_quantity, unit)
print(' Converted %s -> %s %s (expecting: %s)' % (nml2_quantity, val, unit, expected))
assert abs(val / expected - 1) < 1e-12
except Exception as e:
Expand Down
3 changes: 1 addition & 2 deletions pyneuroml/povray/MakeMovie.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import cv2
import cv
import colorsys
import argparse
import sys
Expand Down Expand Up @@ -196,7 +195,7 @@ def main(argv):

fps = 24
if format == 'avi':
fourcc = cv.CV_FOURCC('X', 'V', 'I', 'D')
fourcc = cv2.VideoWriter_fourcc('X', 'V', 'I', 'D')
mov_file = args.name + '.avi'
out = cv2.VideoWriter(mov_file, fourcc, fps, (width, height))
if format == 'divx':
Expand Down
Loading