AdityaSavara / MSRESOLVE

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

Closed AdityaSavara closed 3 years ago

AdityaSavara commented 4 years ago

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'

AdityaSavara commented 3 years ago

Closing in October 2021 since the issue is over a year old. Most likely people will be using newer versions of numpy by now.