Skip to content

Commit

Permalink
modify settings in different way
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian committed Jan 15, 2025
1 parent 1c312d8 commit 86795f8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tests/ephemeris/test_ephemeris_generation.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
import pandas as pd
import pytest
import os
import re

import pandas as pd
import pytest
from numpy.testing import assert_almost_equal

from sorcha.utilities.dataUtilitiesForTests import get_test_filepath, get_demo_filepath
from sorcha.ephemeris.simulation_driver import (create_ephemeris,
write_out_ephemeris_file)
from sorcha.ephemeris.simulation_setup import precompute_pointing_information
from sorcha.modules.PPGetLogger import PPGetLogger
from sorcha.utilities.sorchaArguments import sorchaArguments
from sorcha.ephemeris.simulation_driver import create_ephemeris, write_out_ephemeris_file
from sorcha.modules.PPReadPointingDatabase import PPReadPointingDatabase
from sorcha.ephemeris.simulation_setup import precompute_pointing_information
from sorcha.utilities.sorchaConfigs import sorchaConfigs, inputConfigs

from sorcha.readers.CombinedDataReader import CombinedDataReader
from sorcha.readers.CSVReader import CSVDataReader
from sorcha.readers.EphemerisReader import EphemerisDataReader
from sorcha.readers.OrbitAuxReader import OrbitAuxReader
from sorcha.readers.CSVReader import CSVDataReader
from sorcha.utilities.dataUtilitiesForTests import (get_demo_filepath,
get_test_filepath)
from sorcha.utilities.sorchaArguments import sorchaArguments
from sorcha.utilities.sorchaConfigs import inputConfigs, sorchaConfigs


@pytest.fixture
Expand Down Expand Up @@ -154,7 +156,7 @@ def test_ephemeris_end2end(single_synthetic_pointing, tmp_path):
for file in files:
assert not re.match(r".+\.csv", file)

configs["ar_use_integrate"] = True
setattr(configs, "ar_use_integrate", True)

observations_integrate = create_ephemeris(
single_synthetic_pointing,
Expand Down

0 comments on commit 86795f8

Please sign in to comment.