Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
christinahedges committed Aug 20, 2024
1 parent ddb6ab6 commit a1c397c
Show file tree
Hide file tree
Showing 14 changed files with 1,606 additions and 753 deletions.
444 changes: 443 additions & 1 deletion poetry.lock

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "tessrip"
version = "0.1.0dev"
name = "tesscube"
version = "1.0.0dev"
description = ""
authors = ["TESS Science Support Center <tesshelp@bigbang.gsfc.nasa.gov>", "Christina Hedges <christina.l.hedges@nasa.gov>"]
license = "MIT"
readme = "README.md"
packages = [{include = "tessrip", from = "src"}]
packages = [{include = "tesscube", from = "src"}]

[tool.poetry.dependencies]
python = "<3.13,>=3.9"
Expand All @@ -15,13 +15,13 @@ aiohttp = "^3.8.6"
asyncio = "^3.4.3"
aiobotocore = "^2.7.0"
rich = "^13.7.0"
astropy = "^5.3.4"

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
jupyterlab = "^4.0.8"
astropy = "^5.3.4"
matplotlib = "^3.8.1"
nest-asyncio = "^1.5.8"
pytest = "^7.4.3"
Expand All @@ -34,6 +34,7 @@ mkdocs = "^1.5.3"
mkdocstrings = "^0.24.0"
ipywidgets = "^8.1.2"
astrocut = "^0.11.0"
lksearch = "^1.0.0"


[build-system]
Expand Down
10 changes: 5 additions & 5 deletions src/tessrip/__init__.py → src/tesscube/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.0dev"
__version__ = "1.0.0dev"
# Standard library
import os # noqa
import tempfile
Expand Down Expand Up @@ -59,13 +59,13 @@ def check_package_cache_dir(package_cache_dir):


_package_cache_dir = check_package_cache_dir(
os.path.join(os.path.expanduser("~"), ".tessrip")
os.path.join(os.path.expanduser("~"), ".tesscube")
)

log = get_logger()

# Make sure we can load the config
from .config import load_config # noqa

load_config()

from .query import Rip # noqa
from .utils import get_FFI # noqa
from .cube import TESSCube # noqa
4 changes: 1 addition & 3 deletions src/tessrip/config.py → src/tesscube/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import configparser
import os

from . import _package_cache_dir, get_logger

log = get_logger()
from . import _package_cache_dir, log

CONFIG_FILE_PATH = os.path.join(_package_cache_dir, "config.ini")

Expand Down
Loading

0 comments on commit a1c397c

Please sign in to comment.