Skip to content

Pushing minor cleanup of the method HiddenMarkovModel#viterbi for review and merging - #2

Merged
1 commit merged into
biopython:masterfrom
wgillett:master
Feb 8, 2011
Merged

1 commit merged into
biopython:masterfrom
wgillett:master

Conversation

@wgillett

@wgillett wgillett commented Feb 6, 2011

Copy link
Copy Markdown

No description provided.

…nd add explanatory comments. See the discussion in bug biopython#2947.
@peterjc

peterjc commented Feb 8, 2011

Copy link
Copy Markdown
Member

Committed, thanks.

peterjc pushed a commit that referenced this pull request Sep 11, 2012
The current sqlite3 tests are incredibly slow since they rely on disk. This
means that ACID compliance forces lots of fsync() calls, which are slowww.

This takes advantage of the /dev/shm ramdisk for testing. Things should fail
gracefully (back to disk if /dev/shm is inaccessible). The sqlite3 DB seems
to take only ~2 MB max, so OOM errors shouldn't be an issue.

On a blazing Ivy Bridge / RAID10 machine, this test's execution goes from:

  real    4m3.680s
  user    0m5.032s
  sys     0m1.032s

To:

  real    0m4.788s
  user    0m4.112s
  sys     0m0.648s

Bonus: This should fix Travis CI's intermittent timeouts, assuming /dev/shm
is accessible.

Bonus #2: PEP8 fixes.

Signed-off-by: Nick Semenkovich <[email protected]>
kimlab-sync pushed a commit to pkimlab/kmbio that referenced this pull request Sep 7, 2017
Release 2.0.2

Closes biopython#2

See merge request !20
This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants