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

Make better error message when using wrong path in quickmodel inputs file. #115

Open
sonyahanson opened this issue Jun 24, 2017 · 0 comments

Comments

@sonyahanson
Copy link
Contributor

Currently it says this:

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-17-e405fa54a26a> in <module>()
----> 1 [complex_fluorescence, ligand_fluorescence] = parser.get_data_using_inputs(inputs)

/Users/hansons/anaconda2/lib/python2.7/site-packages/assaytools-0.2.0-py2.7.egg/assaytools/parser.pyc in get_data_using_inputs(inputs)
     69         # data collection, e.g. if we wanted a lot of types of reads
     70         # (there is a limited number of type of read on the infinite per script).
---> 71         data = platereader.read_icontrol_xml(inputs['file_set']['%s'%protein][0])
     72         try:
     73             data.update(platereader.read_icontrol_xml(inputs['file_set']['%s'%protein][1]))

IndexError: list index out of range

Which is super opaque.

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