dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
70 stars 39 forks source link

Unbound local error #381

Closed MarnusStoltz closed 4 years ago

MarnusStoltz commented 4 years ago

Hi there,

Getting the following error when trying to sort reads

[ ] 0% 0:00:03 | sorting reads
[ ] 0% 0:00:03 | sorting reads
Encountered an Error. Message: UnboundLocalError: local variable 'barcode' referenced before assignment Use debug flag (-d) for full code traceback.

Parallel connection closed.

Is there an obvious reason for this?

Regards Marnus

params-robins.txt

isaacovercast commented 4 years ago

What version of ipyrad are you running? Can you do this "Use debug flag (-d) for full code traceback." and post the full error message text?

On Sun, Jan 12, 2020 at 10:32 PM Marnus_Stoltz notifications@github.com wrote:

Hi there, Getting the following error when trying to sort reads

[ ] 0% 0:00:03 | sorting reads [ ] 0% 0:00:03 | sorting reads Encountered an Error. Message: UnboundLocalError: local variable 'barcode' referenced before assignment Use debug flag (-d) for full code traceback. Parallel connection closed.

Is there an obvious reason for this?

Regards Marnus

params-robins.txt https://github.com/dereneaton/ipyrad/files/4051487/params-robins.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dereneaton/ipyrad/issues/381?email_source=notifications&email_token=ABNSXP5XUHZW22IFPR5EKADQ5OEARA5CNFSM4KF2AIRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFTN7JA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNSXP3AUDSH6VI2KIHXCF3Q5OEARANCNFSM4KF2AIRA .

isaacovercast commented 4 years ago

Also, in your params file you need to specify the restriction_overhang sequence (#8) also you have "p,s,1" as output_formats, but '1' is not a valid output format, see the docs for a list of available formats.

On Mon, Jan 13, 2020 at 9:26 AM isaac overcast isaac.overcast@gmail.com wrote:

What version of ipyrad are you running? Can you do this "Use debug flag (-d) for full code traceback." and post the full error message text?

On Sun, Jan 12, 2020 at 10:32 PM Marnus_Stoltz notifications@github.com wrote:

Hi there, Getting the following error when trying to sort reads

[ ] 0% 0:00:03 | sorting reads [ ] 0% 0:00:03 | sorting reads Encountered an Error. Message: UnboundLocalError: local variable 'barcode' referenced before assignment Use debug flag (-d) for full code traceback. Parallel connection closed.

Is there an obvious reason for this?

Regards Marnus

params-robins.txt https://github.com/dereneaton/ipyrad/files/4051487/params-robins.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dereneaton/ipyrad/issues/381?email_source=notifications&email_token=ABNSXP5XUHZW22IFPR5EKADQ5OEARA5CNFSM4KF2AIRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFTN7JA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNSXP3AUDSH6VI2KIHXCF3Q5OEARANCNFSM4KF2AIRA .

isaacovercast commented 4 years ago

Also, can you post the first 10 lines of your barcodes file?

On Mon, Jan 13, 2020 at 9:30 AM isaac overcast isaac.overcast@gmail.com wrote:

Also, in your params file you need to specify the restriction_overhang sequence (#8) also you have "p,s,1" as output_formats, but '1' is not a valid output format, see the docs for a list of available formats.

On Mon, Jan 13, 2020 at 9:26 AM isaac overcast isaac.overcast@gmail.com wrote:

What version of ipyrad are you running? Can you do this "Use debug flag (-d) for full code traceback." and post the full error message text?

On Sun, Jan 12, 2020 at 10:32 PM Marnus_Stoltz notifications@github.com wrote:

Hi there, Getting the following error when trying to sort reads

[ ] 0% 0:00:03 | sorting reads [ ] 0% 0:00:03 | sorting reads Encountered an Error. Message: UnboundLocalError: local variable 'barcode' referenced before assignment Use debug flag (-d) for full code traceback. Parallel connection closed.

Is there an obvious reason for this?

Regards Marnus

params-robins.txt https://github.com/dereneaton/ipyrad/files/4051487/params-robins.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dereneaton/ipyrad/issues/381?email_source=notifications&email_token=ABNSXP5XUHZW22IFPR5EKADQ5OEARA5CNFSM4KF2AIRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFTN7JA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNSXP3AUDSH6VI2KIHXCF3Q5OEARANCNFSM4KF2AIRA .

isaacovercast commented 4 years ago

All good? If not please comment and reopen this issue.