OSBModelValidation 0.2.18__tar.gz → 0.2.20__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. osbmodelvalidation-0.2.20/LICENSE.lesser +166 -0
  2. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20/OSBModelValidation.egg-info}/PKG-INFO +5 -3
  3. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/OSBModelValidation.egg-info/SOURCES.txt +1 -0
  4. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/OSBModelValidation.egg-info/requires.txt +1 -0
  5. {OSBModelValidation-0.2.18/OSBModelValidation.egg-info → osbmodelvalidation-0.2.20}/PKG-INFO +5 -3
  6. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/README.md +2 -2
  7. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/brian2_.py +1 -1
  8. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuroml.py +4 -0
  9. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlmoose.py +4 -1
  10. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/moose_.py +9 -29
  11. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pyneuroml_.py +5 -0
  12. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/omv_util.py +30 -8
  13. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/setup.cfg +2 -1
  14. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/MANIFEST.in +0 -0
  15. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/OSBModelValidation.egg-info/dependency_links.txt +0 -0
  16. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/OSBModelValidation.egg-info/entry_points.txt +0 -0
  17. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/OSBModelValidation.egg-info/top_level.txt +0 -0
  18. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/__init__.py +0 -0
  19. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/__init__.py +0 -0
  20. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/activation.py +0 -0
  21. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/analyzer.py +0 -0
  22. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/dryrun.py +0 -0
  23. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/input_resistance.py +0 -0
  24. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/morphology.py +0 -0
  25. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/rates.py +0 -0
  26. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/resting.py +0 -0
  27. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/spikes.py +0 -0
  28. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/temperature.py +0 -0
  29. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/timeseries.py +0 -0
  30. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/utils/__init__.py +0 -0
  31. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/utils/filenode.py +0 -0
  32. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/analyzers/utils/timeseries.py +0 -0
  33. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/autogen.py +0 -0
  34. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/common/__init__.py +0 -0
  35. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/common/inout.py +0 -0
  36. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/__init__.py +0 -0
  37. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/arbor_.py +0 -0
  38. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/brian1.py +0 -0
  39. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/eden_.py +0 -0
  40. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/engine.py +0 -0
  41. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/genesis.py +0 -0
  42. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getarbor.py +0 -0
  43. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getbrian1.py +0 -0
  44. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getbrian2.py +0 -0
  45. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/geteden.py +0 -0
  46. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getgenesis.py +0 -0
  47. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getjlems.py +0 -0
  48. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getjnml.py +0 -0
  49. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getlibsbml.py +0 -0
  50. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getmoose.py +0 -0
  51. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getnest.py +0 -0
  52. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getnetpyne.py +0 -0
  53. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getneuroconstruct.py +0 -0
  54. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getnml2.py +0 -0
  55. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getnrn.py +0 -0
  56. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getoctave.py +0 -0
  57. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getpylems.py +0 -0
  58. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getpyneuroml.py +0 -0
  59. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/getpynn.py +0 -0
  60. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jlems.py +0 -0
  61. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlbrian.py +0 -0
  62. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlbrian2.py +0 -0
  63. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromleden.py +0 -0
  64. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlnetpyne.py +0 -0
  65. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlnetpyne_np2.py +0 -0
  66. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlnetpyne_np4.py +0 -0
  67. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlnrn.py +0 -0
  68. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlpynnnrn.py +0 -0
  69. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlvalidate.py +0 -0
  70. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/jneuromlvalidatev1.py +0 -0
  71. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/nestsli.py +0 -0
  72. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/netpyne_.py +0 -0
  73. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/netpyne__np2.py +0 -0
  74. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/netpyne__np4.py +0 -0
  75. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/neuron_.py +0 -0
  76. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/octave.py +0 -0
  77. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pylems.py +0 -0
  78. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pylemsnml2.py +0 -0
  79. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynest.py +0 -0
  80. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pyneuroconstruct.py +0 -0
  81. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pyneuromlvalidatesbml.py +0 -0
  82. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pyneuron.py +0 -0
  83. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynn.py +0 -0
  84. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynnbrian1.py +0 -0
  85. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynnbrian2.py +0 -0
  86. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynnnest.py +0 -0
  87. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynnneuroml.py +0 -0
  88. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/pynnneuron.py +0 -0
  89. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/utils/__init__.py +0 -0
  90. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/utils/genesis_utils.g +0 -0
  91. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/engines/utils/wdir.py +0 -0
  92. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/experiment.py +0 -0
  93. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/find_tests.py +0 -0
  94. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/omt_mep_parser.py +0 -0
  95. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/parse_omt.py +0 -0
  96. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/mep.yaml +0 -0
  97. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/observable_datafile.yaml +0 -0
  98. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/observable_literal.yaml +0 -0
  99. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/observables.yaml +0 -0
  100. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/test/observable_datafile.yaml +0 -0
  101. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/test/observable_literal.1.yaml +0 -0
  102. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/base/test/observable_literal.3.yaml +0 -0
  103. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/expected.yaml +0 -0
  104. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/experiment.yaml +0 -0
  105. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/observable.yaml +0 -0
  106. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/protocol.yaml +0 -0
  107. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/protocol_properties.yaml +0 -0
  108. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/expected.1.yaml +0 -0
  109. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/expected.2.yaml +0 -0
  110. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/expected.3.yaml +0 -0
  111. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/expected.4.yaml +0 -0
  112. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/experiment.1.yaml +0 -0
  113. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/experiment.2.yaml +0 -0
  114. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/observable.yaml +0 -0
  115. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/protocol.1.yaml +0 -0
  116. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/schemata/types/test/protocol.2.yaml +0 -0
  117. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/tally.py +0 -0
  118. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/test/__init__.py +0 -0
  119. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/test/test_rates.py +0 -0
  120. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/test/test_types.py +0 -0
  121. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/validation/__init__.py +0 -0
  122. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/validation/rx_validator.py +0 -0
  123. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/validation/utils.py +0 -0
  124. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/validation/validate.py +0 -0
  125. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/omv/validation/validate_mep.py +0 -0
  126. {OSBModelValidation-0.2.18 → osbmodelvalidation-0.2.20}/pyproject.toml +0 -0
@@ -0,0 +1,166 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
166
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OSBModelValidation
3
- Version: 0.2.18
3
+ Version: 0.2.20
4
4
  Summary: Open Source Brain Model validation
5
5
  Home-page: https://github.com/OpenSourceBrain/osb-model-validation
6
6
  Author: Boris Marin, Padraig Gleeson
@@ -17,16 +17,18 @@ Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Topic :: Scientific/Engineering
19
19
  Description-Content-Type: text/markdown
20
+ License-File: LICENSE.lesser
20
21
  Requires-Dist: PyYAML
21
22
  Requires-Dist: numpy
22
23
  Requires-Dist: pyrx
23
24
  Requires-Dist: pathlib; python_version < "3.4"
24
25
  Requires-Dist: docopt
25
26
  Requires-Dist: importlib-metadata; python_version < "3.8"
27
+ Requires-Dist: setuptools
26
28
 
27
29
  [![Continuous builds](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml)
28
- [![PyPI](https://img.shields.io/pypi/v/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
29
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
30
+ [![PyPI](https://img.shields.io/pypi/v/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
31
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
30
32
  [![GitHub](https://img.shields.io/github/license/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/blob/master/LICENSE.lesser)
31
33
  [![GitHub pull requests](https://img.shields.io/github/issues-pr/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/pulls)
32
34
  [![GitHub issues](https://img.shields.io/github/issues/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/issues)
@@ -1,3 +1,4 @@
1
+ LICENSE.lesser
1
2
  MANIFEST.in
2
3
  README.md
3
4
  pyproject.toml
@@ -2,6 +2,7 @@ PyYAML
2
2
  numpy
3
3
  pyrx
4
4
  docopt
5
+ setuptools
5
6
 
6
7
  [:python_version < "3.4"]
7
8
  pathlib
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OSBModelValidation
3
- Version: 0.2.18
3
+ Version: 0.2.20
4
4
  Summary: Open Source Brain Model validation
5
5
  Home-page: https://github.com/OpenSourceBrain/osb-model-validation
6
6
  Author: Boris Marin, Padraig Gleeson
@@ -17,16 +17,18 @@ Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Topic :: Scientific/Engineering
19
19
  Description-Content-Type: text/markdown
20
+ License-File: LICENSE.lesser
20
21
  Requires-Dist: PyYAML
21
22
  Requires-Dist: numpy
22
23
  Requires-Dist: pyrx
23
24
  Requires-Dist: pathlib; python_version < "3.4"
24
25
  Requires-Dist: docopt
25
26
  Requires-Dist: importlib-metadata; python_version < "3.8"
27
+ Requires-Dist: setuptools
26
28
 
27
29
  [![Continuous builds](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml)
28
- [![PyPI](https://img.shields.io/pypi/v/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
29
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
30
+ [![PyPI](https://img.shields.io/pypi/v/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
31
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
30
32
  [![GitHub](https://img.shields.io/github/license/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/blob/master/LICENSE.lesser)
31
33
  [![GitHub pull requests](https://img.shields.io/github/issues-pr/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/pulls)
32
34
  [![GitHub issues](https://img.shields.io/github/issues/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/issues)
@@ -1,6 +1,6 @@
1
1
  [![Continuous builds](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenSourceBrain/osb-model-validation/actions/workflows/ci.yml)
2
- [![PyPI](https://img.shields.io/pypi/v/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
3
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/osb-model-validation)](https://pypi.org/project/osb-model-validation/)
2
+ [![PyPI](https://img.shields.io/pypi/v/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
3
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/OSBModelValidation)](https://pypi.org/project/OSBModelValidation/)
4
4
  [![GitHub](https://img.shields.io/github/license/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/blob/master/LICENSE.lesser)
5
5
  [![GitHub pull requests](https://img.shields.io/github/issues-pr/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/pulls)
6
6
  [![GitHub issues](https://img.shields.io/github/issues/OpenSourceBrain/osb-model-validation)](https://github.com/OpenSourceBrain/osb-model-validation/issues)
@@ -17,7 +17,7 @@ class Brian2Engine(OMVEngine):
17
17
  inform(
18
18
  "Brian2 version %s is correctly installed..." % brian2.__version__,
19
19
  indent=2,
20
- verbosity=2,
20
+ verbosity=1,
21
21
  )
22
22
 
23
23
  ret = "v%s" % brian2.__version__
@@ -81,6 +81,10 @@ class JNeuroMLEngine(OMVEngine):
81
81
  inform("Will fetch and install jNeuroML jar", indent=2)
82
82
  install_jnml(version)
83
83
 
84
+ if not JNeuroMLEngine.is_installed():
85
+ inform("Failure to install, exiting", indent=1)
86
+ exit(1)
87
+
84
88
  def run(self):
85
89
  try:
86
90
  inform(
@@ -8,6 +8,7 @@ from omv.engines.engine import EngineExecutionError
8
8
 
9
9
 
10
10
  class JNeuroMLMooseEngine(JNeuroMLEngine):
11
+
11
12
  name = "jNeuroML_Moose"
12
13
 
13
14
  @staticmethod
@@ -21,10 +22,11 @@ class JNeuroMLMooseEngine(JNeuroMLEngine):
21
22
 
22
23
  @staticmethod
23
24
  def install(version):
25
+
24
26
  if not JNeuroMLEngine.is_installed():
25
27
  JNeuroMLEngine.install(None)
26
28
  if not MooseEngine.is_installed():
27
- MooseEngine.install(None)
29
+ MooseEngine.install(version)
28
30
 
29
31
  JNeuroMLMooseEngine.path = JNeuroMLEngine.path + ":" + JNeuroMLMooseEngine.path
30
32
  JNeuroMLMooseEngine.environment_vars = {}
@@ -32,6 +34,7 @@ class JNeuroMLMooseEngine(JNeuroMLEngine):
32
34
  JNeuroMLMooseEngine.environment_vars.update(MooseEngine.environment_vars)
33
35
  inform("PATH: " + JNeuroMLMooseEngine.path)
34
36
  inform("Env vars: %s" % JNeuroMLMooseEngine.environment_vars)
37
+
35
38
 
36
39
  def run(self):
37
40
  try:
@@ -10,44 +10,24 @@ from omv.engines.engine import OMVEngine, EngineExecutionError
10
10
  class MooseEngine(OMVEngine):
11
11
  name = "Moose"
12
12
 
13
+
13
14
  @staticmethod
14
15
  def is_installed():
15
- if is_verbose():
16
- inform(
17
- "Checking whether the engine %s has been installed correctly..."
18
- % MooseEngine.name,
19
- indent=1,
20
- )
21
-
22
16
  ret = True
23
17
  try:
24
- ret_str = sp.check_output(
25
- ['python -c "import moose; print(moose.__version__)"'],
26
- shell=True,
27
- stderr=sp.STDOUT,
28
- )
29
- ret = len(ret_str) > 0
18
+ import moose
30
19
 
31
- if isinstance(ret_str, bytes):
32
- ret_str = ret_str.decode("utf-8").strip()
20
+ inform(
21
+ "Moose version %s is correctly installed..." % moose.__version__,
22
+ indent=2,
23
+ verbosity=1,
24
+ )
33
25
 
34
- if ret and is_verbose():
35
- inform(
36
- "%s is correctly installed (%s)..." % (MooseEngine.name, ret_str),
37
- indent=2,
38
- )
39
- if ret:
40
- # import moose
41
- ret = "v%s" % ret_str
26
+ ret = "v%s" % moose.__version__
42
27
 
43
28
  except Exception as err:
44
- if is_verbose():
45
- inform("Couldn't import moose into Python: ", err, indent=1)
29
+ inform("Couldn't import Moose into Python: ", err, indent=1, verbosity=1)
46
30
  ret = False
47
- if not ret or not PyNeuroMLEngine.is_installed():
48
- ret = False
49
-
50
- inform("Moose is_installed(): %s" % ret, "", indent=1, verbosity=2)
51
31
  return ret
52
32
 
53
33
  @staticmethod
@@ -38,6 +38,11 @@ class PyNeuroMLEngine(OMVEngine):
38
38
  inform("Will fetch and install the latest pyNeuroML", indent=2)
39
39
  install_pynml(version)
40
40
 
41
+ if not PyNeuroMLEngine.is_installed():
42
+ inform("Failure to install, exiting", indent=1)
43
+ exit(1)
44
+
45
+
41
46
  def run(self):
42
47
  try:
43
48
  inform(
@@ -339,19 +339,25 @@ def _install_engine(eng):
339
339
  from omv.engines.getgenesis import install_genesis
340
340
 
341
341
  install_genesis()
342
+
342
343
  elif eng.lower() == "Moose".lower():
343
- if engine_version is not None:
344
- raise Exception(
345
- "Currently, cannot install a specific version of engine %s" % eng
346
- )
347
- from omv.engines.getmoose import install_moose
348
344
 
349
- install_moose(engine_version)
345
+ from omv.engines.moose_ import MooseEngine as ee
346
+
347
+ if ee.is_installed():
348
+ already_installed = True
349
+ else:
350
+ from omv.engines.getmoose import install_moose
351
+
352
+ install_moose(engine_version)
353
+
350
354
  elif eng.lower() == "NetPyNE".lower():
351
355
  from omv.engines.getnetpyne import install_netpyne
352
356
 
353
357
  install_netpyne(engine_version)
358
+
354
359
  elif eng.lower() == "Brian".lower():
360
+
355
361
  if engine_version is not None:
356
362
  raise Exception(
357
363
  "Currently, cannot install a specific version of engine %s" % eng
@@ -359,10 +365,17 @@ def _install_engine(eng):
359
365
  from omv.engines.getbrian1 import install_brian
360
366
 
361
367
  install_brian()
368
+
362
369
  elif eng.lower() == "Brian2".lower():
363
- from omv.engines.getbrian2 import install_brian2
370
+ from omv.engines.brian2_ import Brian2Engine as ee
371
+
372
+ if ee.is_installed():
373
+ already_installed = True
374
+ else:
375
+ from omv.engines.getbrian2 import install_brian2
376
+
377
+ install_brian2(engine_version)
364
378
 
365
- install_brian2(engine_version)
366
379
  elif eng.lower() == "NEST".lower():
367
380
  from omv.engines.nestsli import NestEngine as ee
368
381
 
@@ -372,6 +385,7 @@ def _install_engine(eng):
372
385
  from omv.engines.getnest import install_nest
373
386
 
374
387
  install_nest(engine_version)
388
+
375
389
  elif eng.lower() == "PyNEST".lower():
376
390
  from omv.engines.pynest import PyNestEngine as ee
377
391
 
@@ -403,6 +417,14 @@ def _install_engine(eng):
403
417
  else:
404
418
  ee.install(engine_version)
405
419
 
420
+ elif eng.lower() == "jNeuroML_Moose".lower():
421
+ from omv.engines.jneuromlmoose import JNeuroMLMooseEngine as ee
422
+
423
+ if ee.is_installed():
424
+ already_installed = True
425
+ else:
426
+ ee.install(engine_version)
427
+
406
428
  elif eng.lower() == "jNeuroML_NEURON".lower():
407
429
  from omv.engines.jneuromlnrn import JNeuroMLNRNEngine as ee
408
430
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = OSBModelValidation
3
- version = 0.2.18
3
+ version = 0.2.20
4
4
  author = Boris Marin, Padraig Gleeson
5
5
  author_email = borismarin@gmail.com
6
6
  url = https://github.com/OpenSourceBrain/osb-model-validation
@@ -28,6 +28,7 @@ install_requires =
28
28
  pathlib; python_version<'3.4'
29
29
  docopt
30
30
  importlib-metadata; python_version<'3.8'
31
+ setuptools
31
32
  packages = find:
32
33
 
33
34
  [options.packages.find]