Closed GSMKammeijer closed 6 years ago
The above bug is due to the filepath exceeding the maximum length specified by the Win32 API of 255 characters. I am currently investigating how we can fix this in the program using path normalization or similar methods.
Additionally, the above issue showed that if there are other '.raw' files in the folder (such as the raw data of a specific instrument) the program also stops.
The fix for the filelength is as follows, which has been applied to the creation of the xy
files:
(old, new) = os.path.split(self.inputFile)
old = os.path.abspath(old)
new = os.path.splitext(new)[0]
new = "sumSpectrum_"+str(i)+"_"+str(new)+".xy"
new = os.path.join(old,new)
outFile = "\\\\?\\"+new
While trying to use LaCyTools errors occured while trying to generate the combined results (just after one summed spectrum generation). The files are send via wetransfer.