This PR provides full build integration for Python 2.7 and Python 3.6 with Jenkins + additional classes for running Jenkins tests in parallel (for future use).
Bug fixes for Python 3.6: tab-space inconsistencies, slicing errors due to float indexes.
In addition, it changes hashing function from default python hash to stable hashlib's md5 for reproducibility between Python 2 and Python 3. No need to set PYTHONHASHSEED with hashlib.md5
Fix interpolation error in edens_profile 1D profile signal (D3D, ZIPFIT01/PROFILES.EDENSFIT):
if sig[i,order].shape[0] > 2:
f = UnivariateSpline(mapping[i,order],sig[i,order],s=0,k=1,ext=0)
sig_interp[i,:] = f(remapping)
else:
print('Signal {}, shot {} has not enough points for linear interpolation. dfitpack.error: (m>k) failed for hidden m: fpcurf0:m=1'.format(self.description,shot.number))
This PR provides full build integration for Python 2.7 and Python 3.6 with Jenkins + additional classes for running Jenkins tests in parallel (for future use).
Bug fixes for Python 3.6: tab-space inconsistencies, slicing errors due to float indexes.
In addition, it changes hashing function from default python
hash
to stablehashlib
'smd5
for reproducibility between Python 2 and Python 3. No need to setPYTHONHASHSEED
withhashlib.md5
Fix interpolation error in
edens_profile
1D profile signal (D3D, ZIPFIT01/PROFILES.EDENSFIT):