compomics / moFF

A modest Feature Finder (moFF) to extract MS1 intensities from Thermo raw file
Apache License 2.0
33 stars 11 forks source link

TypeError: compute_peptide_matrix() takes exactly 3 arguments #20

Closed caleb-easterly closed 6 years ago

caleb-easterly commented 6 years ago

I got an error when I passed --peptide_summary to moff.py:

Traceback (most recent call last):
  File "moff.py", line 571, in <module>
    main_apex_alone()
  File "moff.py", line 566, in main_apex_alone
    state = compute_peptide_matrix(loc_output,args.tag_pepsum)
TypeError: compute_peptide_matrix() takes exactly 3 arguments (2 given)

This is fixed when I pass log to compute_peptide_matrix() - that is, when I change

compute_peptide_matrix(loc_output,args.tag_pepsum)

to compute_peptide_matrix(loc_output,log,args.tag_pepsum)

Thanks!

`

Maux82 commented 6 years ago

Hi, I have lost this input during the merge of one of the brances. Thanks to have noticed this ! I have already fixed this in the master brach