Closed dulceggm closed 2 years ago
Hi Dulce, thanks for reporting this issue. The good thing is that you're using falcon correctly! This issue is not directly with falcon, but with one of its dependencies that recently underwent some incompatible changes. For you now can fix this issue by doing:
pip uninstall spectrum_utils && pip install spectrum-utils==0.3.5
Hopefully this fixes the issue. I'll update the installation instructions in the README accordingly.
Thanks a lot, that fixed the issue and now falcon is running perfectly!
Hi I keep getting this error when trying to run falcon
TypeError: __init__() takes from 6 to 7 positional arguments but 8 were given
This is the argument I am using
falcon spectra_Bt1/*.mzML network_Bt1 --work_dir ~/Documents/falcon_t1 --export_representatives --export_include_singletons --precursor_tol 0.05 Da --rt_tol 0.1 --min_peaks 3 --min_mz_range 100.0 --min_mz 150.0 --max_mz 2200.0 --min_intensity 0.01 --max_peaks_used 500
And the full log I get when trying to run it:
My files don't have any underscore nor dots in the name (not sure if it's relevant) and the data comes from a timsTOF and was converted using the timsconvert workflow in the GNPS server. I can successfully run falcon in the server, so I know there is nothing wrong with the files. I wanted to change some of the default parameters, so I switched to command line.
I'm very new to coding and python, so I'm not sure what is the mistake and how to fix it. Any help would be greatly appreciated!! Thanks!