MSRESOLVESG. A program for converting mass spectrometry signals to concentrations. Baseline corrections, smoothing, solving overlapping patterns, mass spectrometer tuning, and more.
0
stars
0
forks
source link
make genfromtxt work with more versions by numpy check #223
Sometimes see something like this, depending on numpy version:
File "C:/Users/fvs/Desktop/Temp/Junk/m/MSRESOLVE/200226MoskowitzChallenge/v8.3/MSRESOLVE.py", line 1619, in exportSimulatedSignalsSoFar
simulatedSignalsFromIterative = numpy.genfromtxt(simulatedSignalsFromIterativeAbsoluteFileName,delimiter=',',dtype=None, encoding='latin1').astype(str) #Get the data from the iteration's simultaed raw signals file (use astype(str) to keep b' from showing up before each entry)
TypeError: genfromtxt() got an unexpected keyword argument 'encoding'
Sometimes see something like this, depending on numpy version:
File "C:/Users/fvs/Desktop/Temp/Junk/m/MSRESOLVE/200226MoskowitzChallenge/v8.3/MSRESOLVE.py", line 1619, in exportSimulatedSignalsSoFar simulatedSignalsFromIterative = numpy.genfromtxt(simulatedSignalsFromIterativeAbsoluteFileName,delimiter=',',dtype=None, encoding='latin1').astype(str) #Get the data from the iteration's simultaed raw signals file (use astype(str) to keep b' from showing up before each entry)
TypeError: genfromtxt() got an unexpected keyword argument 'encoding'