myokit 1.39.0__py3-none-any.whl → 1.39.1__py3-none-any.whl

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.
myokit/_config.py CHANGED
@@ -45,9 +45,9 @@ def _create(path):
45
45
  'compatibility',
46
46
  '# Optional settings to make Myokit work on tricky systems.')
47
47
  config.set('compatibility', '# Don\'t capture compiler output.')
48
- config.set('compatibility', '#no_capture = True')
48
+ config.set('compatibility', '#no_capture', 'True')
49
49
  config.set('compatibility', '# Don\'t use the file-descriptor method.')
50
- config.set('compatibility', '#no_fd_capture = True')
50
+ config.set('compatibility', '#no_fd_capture', 'True')
51
51
 
52
52
  # Date format
53
53
  config.add_section('time')
@@ -63,16 +63,16 @@ def _create(path):
63
63
  config.set('gui', '# Backend to use for graphical user interface.')
64
64
  config.set('gui', '# Valid options are pyqt6, pyqt5, pyside6 and pyside2.')
65
65
  config.set('gui', '# Leave unset for automatic selection.')
66
- config.set('gui', '#backend = pyqt6')
67
- config.set('gui', '#backend = pyqt5')
68
- config.set('gui', '#backend = pyside6')
69
- config.set('gui', '#backend = pyside2')
66
+ config.set('gui', '#backend', 'pyqt6')
67
+ config.set('gui', '#backend', 'pyqt5')
68
+ config.set('gui', '#backend', 'pyside6')
69
+ config.set('gui', '#backend', 'pyside2')
70
70
 
71
71
  # Locations of sundials library
72
72
  config.add_section('sundials')
73
73
  config.set(
74
- 'sundials', '# Location of sundials shared libary files'
75
- ' (.so, .dll, or .dylib).')
74
+ 'sundials',
75
+ '# Location of sundials shared libary files (.so, .dll, or .dylib).')
76
76
  config.set('sundials', '# Multiple paths can be set using ; as separator.')
77
77
 
78
78
  if system == 'Windows': # pragma: no linux cover
@@ -159,9 +159,9 @@ def _create(path):
159
159
  # All windowses
160
160
  c64 = 'C:\\Program Files\\'
161
161
  config.set('opencl', 'inc', ';'.join([
162
- c64 + 'Intel\\OpenCL SDK\\6.3\\include',
163
- c64 + 'AMD APP SDK\\2.9\\include',
164
- c64 + 'NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\include',
162
+ f'{c64}Intel\\OpenCL SDK\\6.3\\include',
163
+ f'{c64}AMD APP SDK\\2.9\\include',
164
+ f'{c64}NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\include',
165
165
  ]))
166
166
  else:
167
167
  # Linux and mac
@@ -205,10 +205,9 @@ def _load():
205
205
  if m is not None:
206
206
  x = m.start(1) - 1
207
207
  raise ImportError(
208
- 'Unsupported syntax found in ' + str(path) + ' on line '
209
- + str(1 + i) + ', character ' + str(x) + ', semicolons (;)'
210
- + ' must not be preceded by whitespace: ```'
211
- + line.strip() + '```.')
208
+ f'Unsupported syntax found in {path} on line {i + 1},'
209
+ f' character {x}, semicolons (;) must not be preceded by'
210
+ f' whitespace: ```{line.strip()}```.')
212
211
  del lines, inline_comment
213
212
 
214
213
  # Create the config parser (no value allows comments)
@@ -230,7 +229,7 @@ def _load():
230
229
  elif x != '':
231
230
  warnings.warn(
232
231
  'Invalid setting in myokit.ini. Expected values for no_capture'
233
- ' are true, false, or not set (empty), but got: ' + x)
232
+ f' are true, false, or not set (empty), but got: {x}.')
234
233
 
235
234
  if config.has_option('compatibility', 'no_fd_capture'):
236
235
  x = config.get('compatibility', 'no_fd_capture').strip().lower()
@@ -241,8 +240,8 @@ def _load():
241
240
  elif x != '':
242
241
  warnings.warn(
243
242
  'Invalid setting in myokit.ini. Expected values for'
244
- ' no_fd_capture are true, false, or not set (empty), but got: '
245
- + x)
243
+ ' no_fd_capture are true, false, or not set (empty), but'
244
+ f' got: {x}.')
246
245
 
247
246
  # Date format
248
247
  if config.has_option('time', 'date_format'):
@@ -282,7 +281,7 @@ def _load():
282
281
  elif x != '':
283
282
  warnings.warn(
284
283
  'Invalid setting in myokit.ini. Expected values for backend'
285
- ' are pyqt6, pyqt5, pyside6, or pyside2. Got: ' + x)
284
+ f' are pyqt6, pyqt5, pyside6, or pyside2, but got: {x}.')
286
285
 
287
286
  # Sundials libraries, header files, and version
288
287
  if config.has_option('sundials', 'lib'):
myokit/_myokit_version.py CHANGED
@@ -14,7 +14,7 @@ __release__ = True
14
14
  # incompatibility
15
15
  # - Changes to revision indicate bugfixes, tiny new features
16
16
  # - There is no significance to odd/even numbers
17
- __version_tuple__ = 1, 39, 0
17
+ __version_tuple__ = 1, 39, 1
18
18
 
19
19
  # String version of the version number
20
20
  __version__ = '.'.join([str(x) for x in __version_tuple__])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: myokit
3
- Version: 1.39.0
3
+ Version: 1.39.1
4
4
  Summary: A modeling and simulation tool for cardiac cellular electrophysiology
5
5
  Home-page: http://myokit.org
6
6
  Author: Michael Clerx
@@ -1,14 +1,14 @@
1
1
  myokit/__init__.py,sha256=VHhMD719sYnGykNXuPA3DI6iyQCV0T_wM7JYKBPbee4,13805
2
2
  myokit/__main__.py,sha256=VXyt8m2GG62pz32H-qATT4tw988p-LlIKih0mkVYlJk,53688
3
3
  myokit/_aux.py,sha256=x8VgBbdKF9yY7bBwi2mbuITyIzN3K7fj-ylCZrJQCJs,23948
4
- myokit/_config.py,sha256=WoUMTcHOO9oerqtad7AnQgXAND41YO-WfqlSSyCuHgU,11989
4
+ myokit/_config.py,sha256=sFcITF3KmchhwRUFyTp3oFRTbA2R9zmB_69ozxSLA6g,11947
5
5
  myokit/_datablock.py,sha256=6-rt8p2DjWW1-OqHOFE4rSUB-mQsbeU1KMPBkxsVWdw,88678
6
6
  myokit/_datalog.py,sha256=eWMpgyLa5Nx98RQZO3fK2PZKp2vLsBCddq6nB-9aVK4,77749
7
7
  myokit/_err.py,sha256=n8Ggy2VKnyx_h_ySuNe77tIFXzh1yO7sWBvc7YPC2cM,11974
8
8
  myokit/_expressions.py,sha256=FiSAjQnYZSqhTb7jad57rpPWt_dg86fwmFF-a1-_Lc0,109388
9
9
  myokit/_io.py,sha256=2ll5Yb-sbP4tvc3pPmzhNuv_PaRMPJlNRWb1TzXfELg,8948
10
10
  myokit/_model_api.py,sha256=AP3QdvpvQj3ICEYg8Ubn87gsnj2YdX8l_fBIWqYTYOU,195043
11
- myokit/_myokit_version.py,sha256=6atPNisCnuMAMDpIQm2uUxPkqcUARdeLgWpD035Igrw,726
11
+ myokit/_myokit_version.py,sha256=GOJZ9Pvuv03DYonP-sIkT9VUADZb2ZG-ohj2RDFF8Ys,726
12
12
  myokit/_parsing.py,sha256=tuuqUlPi6Ek8VwtaBVmo6nNvUl3qLlvDQ1djzREStJ8,74387
13
13
  myokit/_progress.py,sha256=Mi2QU6Vqj4qudhXc76amXM31iID2Mo8Gljw5OH2COZ4,4410
14
14
  myokit/_protocol.py,sha256=_N16LGHppIv4yCSPjy0q2f-Oed0yG1wMk0ipTtXnMck,30756
@@ -401,9 +401,9 @@ myokit/tests/data/multi/beeler-no-name.mmt,sha256=tBeWcTVag1gAQAvxWlUqH6GQhF1D4D
401
401
  myokit/tests/data/multi/lr-1991.mmt,sha256=9jzHRAy1nLiBOPioiEpXmsRvIqwEezRY_ve2eHMDbTQ,6013
402
402
  myokit/tests/data/multi/not-a-model.csv,sha256=7ek3pQXr2fpjNjFTs-B-T_kEehx8IQ-evdcg24dtMEs,109
403
403
  myokit/tests/data/multi/subdir/beeler-no-name.mmt,sha256=tBeWcTVag1gAQAvxWlUqH6GQhF1D4DMnlmuePQn1vBY,3008
404
- myokit-1.39.0.dist-info/licenses/LICENSE.txt,sha256=0WNshB_he7HnJ4ROvVAaX95yz9760DE9ps8PbyvrGvw,1833
405
- myokit-1.39.0.dist-info/METADATA,sha256=3dEanDrGg8pfR-PqfJNk04M_b_5EnhczK-KZs6VaUu4,6738
406
- myokit-1.39.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
- myokit-1.39.0.dist-info/entry_points.txt,sha256=yP9wy3w0YAAYUD5PYGliYKhnKvEp5l6p4S_XvXsqreM,48
408
- myokit-1.39.0.dist-info/top_level.txt,sha256=vopnhGEticqud7tKy6L6dvi_n_AMXoiYBEiboRTnsWY,7
409
- myokit-1.39.0.dist-info/RECORD,,
404
+ myokit-1.39.1.dist-info/licenses/LICENSE.txt,sha256=0WNshB_he7HnJ4ROvVAaX95yz9760DE9ps8PbyvrGvw,1833
405
+ myokit-1.39.1.dist-info/METADATA,sha256=IRnUOGuzmjdE6JJeEFXAYOFqa_zQnRbVTTE-Ayvu1sQ,6738
406
+ myokit-1.39.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
407
+ myokit-1.39.1.dist-info/entry_points.txt,sha256=yP9wy3w0YAAYUD5PYGliYKhnKvEp5l6p4S_XvXsqreM,48
408
+ myokit-1.39.1.dist-info/top_level.txt,sha256=vopnhGEticqud7tKy6L6dvi_n_AMXoiYBEiboRTnsWY,7
409
+ myokit-1.39.1.dist-info/RECORD,,