Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export.mayu: AttributeError: 'list' object has no attribute 'mayu_cutoff' #18

Open
danielhyduke opened this issue Oct 29, 2015 · 0 comments

Comments

@danielhyduke
Copy link

When running pyprophet 0.18.3 with the --export.mayu flag, I get the following error:

AttributeError: 'list' object has no attribute 'mayu_cutoff'

The exception appears to be from the codeblock below which worked in pyprophet 0.13.3 because out_pathes was a Pathes object with these listed attributes; however, in the 0.18.3 version out_pathes is now a list that contains a dictionary where the keys are the attributes.

https://github.com/uweschmitt/pyprophet/blob/master/pyprophet/main.py#L203

    export_mayu(out_pathes.mayu_cutoff, out_pathes.mayu_fasta,
             out_pathes.mayu_csv, scored_table, result.final_statistics)
    print "WRITTEN: ", out_pathes.mayu_cutoff
    print "WRITTEN: ", out_pathes.mayu_fasta
    print "WRITTEN: ", out_pathes.mayu_csv

pyprophet 0.18.3
OpenSwathWorkflow -- Complete workflow to run OpenSWATH
Version: 2.0.0 Sep 9 2015, 13:29:57, Revision: 66a7739
CENTOS 7 64-bit
python 2.7.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant