Skip to content

Commit

Permalink
Run the formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-czyz committed Dec 5, 2024
1 parent fac34c7 commit 9856e1f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion notebooks/pMHN-Development-JAX.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ def generate_loglikelihood(
theta_link_fn=None,
omega_link_fn=None,
):

if theta_link_fn is None:
theta_link_fn = _default_theta_link(dataset.n_genes)
if omega_link_fn is None:
Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_simulate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The simulation utilities."""

from pmhn._simulate._jump_chain import (
simulate_dataset,
simulate_genotype_known_time,
Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_simulate/_jump_chain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The jump Markov chain simulation from an underlying Markov process."""

from typing import Optional, Union, Sequence

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_trees/_backend_jax/_private_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This is *private* API, which is convenient for testing and experimenting."""

import pmhn._trees._backend_jax._rates as rates
from pmhn._trees._backend_jax._loglikelihood import loglikelihood
from pmhn._trees._backend_jax._solver import logprob_forward_substitution
Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_trees/_backend_jax/_rates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Submodule used to construct the rates matrices from wrapped tree."""

import jax
import jax.numpy as jnp
from jaxtyping import Array, Float, Int
Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_trees/_interfaces.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Interfaces."""

from typing import TypeAlias
from anytree import Node

Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_trees/_io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for parsing data frames into AnyTree trees."""

import dataclasses
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions src/pmhn/_trees/_validate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tree validation utilities."""

from pmhn._trees._interfaces import Tree


Expand Down

0 comments on commit 9856e1f

Please sign in to comment.