Skip to content

Commit

Permalink
Merge pull request #373 from astronomy-commons/sean/update-cataloginf…
Browse files Browse the repository at this point in the history
…o-type

update healpixdataset catalog info type
  • Loading branch information
smcguire-cmu authored Oct 8, 2024
2 parents 8a175b2 + 5a0177e commit 933ed0e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Build documentation

on:
push:
branches: [ main ]
branches: [ main, development ]
pull_request:
branches: [ main ]
branches: [ main, development ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Run pre-commit hooks

on:
push:
branches: [ main ]
branches: [ main, development ]
pull_request:
branches: [ main ]
branches: [ main, development ]

jobs:
pre-commit-ci:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Unit test and code coverage

on:
push:
branches: [ main ]
branches: [ main, development ]
pull_request:
branches: [ main ]
branches: [ main, development ]

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions src/hipscat/catalog/healpix_dataset/healpix_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
from upath import UPath

import hipscat.pixel_math.healpix_shim as hp
from hipscat.catalog.dataset import BaseCatalogInfo, Dataset
from hipscat.catalog.catalog_info import CatalogInfo
from hipscat.catalog.dataset import Dataset
from hipscat.catalog.partition_info import PartitionInfo
from hipscat.io import file_io, paths
from hipscat.io.file_io import read_parquet_metadata
Expand All @@ -35,7 +36,7 @@ class HealpixDataset(Dataset):
Norder=/Dir=/Npix=.parquet
"""

CatalogInfoClass: TypeAlias = BaseCatalogInfo
CatalogInfoClass: TypeAlias = CatalogInfo
catalog_info: CatalogInfoClass

def __init__(
Expand Down

0 comments on commit 933ed0e

Please sign in to comment.