Skip to content

Commit

Permalink
Flatten dir, removing forward_backward
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Apr 19, 2024
1 parent ee017b4 commit ae28e88
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
10 changes: 8 additions & 2 deletions lshmm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
import numpy as np

from . import core
from .forward_backward.fb_diploid import backward_ls_dip_loop, forward_ls_dip_loop
from .forward_backward.fb_haploid import backwards_ls_hap, forwards_ls_hap
from .fb_diploid import (
backward_ls_dip_loop,
forward_ls_dip_loop,
)
from .fb_haploid import (
backwards_ls_hap,
forwards_ls_hap,
)
from .vit_diploid import (
backwards_viterbi_dip,
forwards_viterbi_dip_low_mem,
Expand Down
File renamed without changes.
File renamed without changes.
Empty file removed lshmm/forward_backward/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/test_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

import lshmm as ls
import lshmm.core as core
import lshmm.forward_backward.fb_diploid as fbd
import lshmm.forward_backward.fb_haploid as fbh
import lshmm.fb_diploid as fbd
import lshmm.fb_haploid as fbh
import lshmm.vit_diploid as vd
import lshmm.vit_haploid as vh

Expand Down
4 changes: 2 additions & 2 deletions tests/test_API_multiallelic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import lshmm as ls
import lshmm.core as core
import lshmm.forward_backward.fb_diploid as fbd
import lshmm.forward_backward.fb_haploid as fbh
import lshmm.fb_diploid as fbd
import lshmm.fb_haploid as fbh
import lshmm.vit_diploid as vd
import lshmm.vit_haploid as vh

Expand Down
4 changes: 2 additions & 2 deletions tests/test_LS_haploid_diploid.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import tskit

import lshmm.core as core
import lshmm.forward_backward.fb_diploid as fbd
import lshmm.forward_backward.fb_haploid as fbh
import lshmm.fb_diploid as fbd
import lshmm.fb_haploid as fbh
import lshmm.vit_diploid as vd
import lshmm.vit_haploid as vh

Expand Down

0 comments on commit ae28e88

Please sign in to comment.