Commit 4ba8d082 authored by Ryan Gutenkunst's avatar Ryan Gutenkunst
Browse files

Remove circular import from TwoLocus code

parent 9b7e1d17
......@@ -4,7 +4,6 @@ Contains triallelic Spectrum object
import os
import numpy as np
import dadi
from . import numerics
class TLSpectrum(np.ma.masked_array):
"""
......@@ -307,6 +306,7 @@ class TLSpectrum(np.ma.masked_array):
"""
Mean of normalized squared correlation coefficient between A and B loci.
"""
from . import numerics
ns = self.shape[0] - 1
norm = self.sum()
Dbin, r2bin = numerics.LD_per_bin(ns)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment