Skip to content

Commit

Permalink
time_windows addition after code rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tforest committed Oct 30, 2024
1 parent 6b3ab4f commit f2d857b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions python/tskit/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -7665,10 +7665,6 @@ def parse_time_windows(self, time_windows):
time_windows = [0.0, math.inf]
return np.array(time_windows)

<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> d31f13b4 (AFS branch mode with time windows to review)
def __run_windowed_stat(self, windows, method, *args, **kwargs):
strip_win = windows is None
windows = self.parse_windows(windows)
Expand All @@ -7679,12 +7675,6 @@ def __run_windowed_stat(self, windows, method, *args, **kwargs):

# only for temporary tw version
def __run_windowed_stat_tw(self, windows, time_windows, method, *args, **kwargs):
<<<<<<< HEAD
=======
def __run_windowed_stat(self, windows, time_windows, method, *args, **kwargs):
>>>>>>> 14e1cefc (Better dimension drop with time windows)
=======
>>>>>>> d31f13b4 (AFS branch mode with time windows to review)
strip_win = windows is None
strip_timewin = time_windows is None
windows = self.parse_windows(windows)
Expand Down Expand Up @@ -8658,7 +8648,6 @@ def genetic_relatedness_weighted(
centre=centre,
)

<<<<<<< HEAD
def genetic_relatedness_vector(
self,
W,
Expand Down Expand Up @@ -8722,8 +8711,6 @@ def genetic_relatedness_vector(
)
return out

=======
>>>>>>> d31f13b4 (AFS branch mode with time windows to review)
def trait_covariance(self, W, windows=None, mode="site", span_normalise=True):
"""
Computes the mean squared covariances between each of the columns of ``W``
Expand Down Expand Up @@ -8872,16 +8859,7 @@ def trait_regression(self, *args, **kwargs):
return self.trait_linear_model(*args, **kwargs)

def trait_linear_model(
<<<<<<< HEAD
self, W, Z=None, windows=None, mode="site", span_normalise=True
=======
self,
W,
Z=None,
windows=None,
mode="site",
span_normalise=True,
>>>>>>> d31f13b4 (AFS branch mode with time windows to review)
):
"""
Finds the relationship between trait and genotype after accounting for
Expand Down

0 comments on commit f2d857b

Please sign in to comment.