Skip to content

Commit 5cc91a2

Browse files
authored
Merge pull request #101 from OpenSourceBrain/test_nest
Better tests for nest
2 parents af860ca + 9eaefde commit 5cc91a2

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
- EDEN
2424
- "NEST:2.20.0"
2525
- "NEST:3.3"
26-
- PyNEST
26+
- PyNEST
27+
- PyNEST:2.20.0
28+
- PyNEST:3.1
2729
- "NEURON:7.8.2"
2830
- "PyNEURON:8.0.2"
2931
- PyNN

omv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.2.5'
1+
__version__ = '0.2.6'

omv/engines/getnest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ def install_nest(version):
2121
pypaths = get_paths()
2222
inform('Python lib info: %s'%(pypaths), indent=2, verbosity=1)
2323

24-
os.mkdir(nestpath)
24+
try:
25+
os.mkdir(nestpath)
26+
except:
27+
pass
2528

2629
with working_dir(nestpath):
2730
#version='2.10.0'

omv/engines/pynest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def is_installed():
3030
ret_str = ret_str_cmd_line.split('Version: ')[1].split('Built:')[0].strip()
3131
#print("ret_str: %s"%ret_str)
3232
except Exception as e:
33-
print('NEST exc: %s'%e)
33+
if is_verbose():
34+
print('NEST installed check exception: %s'%e)
3435
import nest
3536
#print('PN2')
3637
if hasattr(nest,'__version__'):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'engines/utils/genesis_utils.g']},
2020
url='https://github.com/OpenSourceBrain/osb-model-validation',
2121
license='LICENSE.txt',
22-
description='OpenSourceBrain Model Validation',
22+
description='Open Source Brain Model Validation framework',
2323
long_description=open('README.md').read(),
2424
install_requires=[
2525
'PyYAML',

0 commit comments

Comments
 (0)