ProteomicsVisualization icon indicating copy to clipboard operation
ProteomicsVisualization copied to clipboard

figure 1 on PC

Open AliSciPhile opened this issue 1 year ago • 0 comments

I tried to generate figure one on my windows PC . First of all it could not find the pyRawFileReader. In the pyRawFileReader.py file line 20 I changed the path to exact path where the file is instead of getting the path by os.path.dirname(os.path.abspath(file)) and also I added this to the utils.py before line "from pyrawfilereader import RawFileReader":

import sys
sys.path.append('Actual Jupyter notebook path)

By this way I think I managed to run pyRawFileReader but again I have this error :

ext\utils.py:163, in check_sanity(mass_list) 156 def check_sanity( 157 mass_list ... --> 163 mass_list[0][i] <= mass_list[0][i + 1] for i in range(len(mass_list[0]) - 1) 164 ): 165 raise ValueError("Masses are not sorted.")

IndexError: list index out of range

it seems the reading file is empty. Also I downloaded the rawfile that was default for your analysis and it gave me same error. so the problem is not raw file. I don't know what else I can do

AliSciPhile avatar Nov 20 '23 02:11 AliSciPhile