Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul configuration system #729

Merged
merged 2 commits into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def readme():
"psutil",
"h5py",
"pshmem>=0.2.10",
"pyyaml",
"ruamel.yaml",
"astropy",
"healpy",
"ephem",
Expand All @@ -310,7 +310,7 @@ def readme():
"ipywidgets",
"plotly",
"plotly-resampler",
]
],
}
conf["packages"] = find_packages(
"src",
Expand Down
3 changes: 2 additions & 1 deletion src/toast/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ install(FILES
mpi.py
timing.py
traits.py
config.py
trait_utils.py
job.py
pixels.py
pixels_io_healpix.py
Expand Down Expand Up @@ -163,6 +163,7 @@ install(DIRECTORY
)

# Process the sub directories
add_subdirectory(config)
add_subdirectory(io)
add_subdirectory(accelerator)
add_subdirectory(tests)
Expand Down
3 changes: 2 additions & 1 deletion src/toast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
raise ImportError("Cannot read RELEASE file")


from .config import create_from_config, load_config, parse_config
from .config import load_config, parse_config
from .data import Data
from .instrument import Focalplane, GroundSite, SpaceSite, Telescope
from .instrument_sim import fake_hexagon_focalplane
Expand All @@ -95,4 +95,5 @@
from .observation import Observation
from .pixels import PixelData, PixelDistribution
from .timing import GlobalTimers, Timer
from .traits import create_from_config
from .weather import Weather
Loading
Loading