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

Invalid error for beast_wrapper #73

Open
necrolyte2 opened this issue Dec 29, 2015 · 4 comments
Open

Invalid error for beast_wrapper #73

necrolyte2 opened this issue Dec 29, 2015 · 4 comments
Assignees
Labels

Comments

@necrolyte2
Copy link
Member

ValueError: 20000       -26530.2455     -4879.6930      -21650.5525     641.512         4.39965E-4      9.83616E-4      9.00000         1 hours/million states
@necrolyte2 necrolyte2 changed the title Invalid error for beast_checkpoint Invalid error for beast_wrapper Dec 29, 2015
@necrolyte2
Copy link
Member Author

Issue is with the regex
Regex is looking for one more more digit followed by period followed by one or more digit(aka, floating point number)

https://github.com/VDBWRAIR/bio_pieces/blob/master/bio_pieces/beast_wrapper.py#L16

@averagehat
Copy link
Contributor

I think this got fixed?

@necrolyte2
Copy link
Member Author

Doesn't look like it
https://github.com/VDBWRAIR/bio_bits/blob/dev/bio_bits/beast_wrapper.py#L16

That regex should be
p = '^(\d+).*?((\d+(\.\d+)*)\shours/[mb]illion\sstates)$'

@averagehat
Copy link
Contributor

Changing this caused test failure so I reverted it until I get conda set up:

https://travis-ci.org/VDBWRAIR/bio_bits/jobs/122293141#L1357-L1400

@averagehat averagehat reopened this Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants