Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian committed May 30, 2024
1 parent 5d877f8 commit 8308c3a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
6 changes: 3 additions & 3 deletions thor/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class Config(BaseModel):
iod_min_arc_length: float = 1.0
iod_contamination_percentage: float = 20.0
iod_rchi2_threshold: float = 100000
iod_observation_selection_method: Literal[
"combinations", "first+middle+last"
] = "combinations"
iod_observation_selection_method: Literal["combinations", "first+middle+last"] = (
"combinations"
)
iod_chunk_size: int = 10
od_min_obs: int = 6
od_min_arc_length: float = 1.0
Expand Down
1 change: 1 addition & 0 deletions thor/tests/memory/test_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
open .cache.bench/memory/[session_name]/[test_name].png
"""

import os
import subprocess
import threading
Expand Down
14 changes: 12 additions & 2 deletions thor/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,12 @@ def run_link_test_orbit(test_orbit, observations, config):
@pytest.mark.parametrize("integration_config", [1, 4], indirect=True)
@pytest.mark.integration
def test_link_test_orbit(object_id, orbits, observations, integration_config):
(test_orbit, observations, obs_ids_expected, integration_config,) = setup_test_data(
(
test_orbit,
observations,
obs_ids_expected,
integration_config,
) = setup_test_data(
object_id, orbits, observations, integration_config, max_arc_length=14
)

Expand All @@ -260,7 +265,12 @@ def test_benchmark_link_test_orbit(
):
object_id = "202930 Ivezic (1998 SG172)"

(test_orbit, observations, obs_ids_expected, integration_config,) = setup_test_data(
(
test_orbit,
observations,
obs_ids_expected,
integration_config,
) = setup_test_data(
object_id, orbits, observations, integration_config, max_arc_length=14
)

Expand Down

0 comments on commit 8308c3a

Please sign in to comment.