Skip to content

Commit

Permalink
fix: Fix imports for alpenhorn reorg (#4)
Browse files Browse the repository at this point in the history
Update for re-org of alpenhorn: radiocosmology/alpenhorn#199
  • Loading branch information
ketiltrout authored Nov 1, 2024
1 parent 0061efb commit 5a54862
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions alpenhorn_chime/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import peewee as pw
from functools import partial

from alpenhorn.acquisition import ArchiveAcq as AlpenAcq
from alpenhorn.acquisition import ArchiveFile as AlpenFile
from alpenhorn.db import ArchiveAcq as AlpenAcq
from alpenhorn.db import ArchiveFile as AlpenFile

import chimedb.core as db

Expand Down
6 changes: 3 additions & 3 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import pytest
import chimedb.core as db
from alpenhorn import db as adb
from alpenhorn.archive import ArchiveFileCopy, ArchiveFileCopyRequest
from alpenhorn.storage import StorageNode, StorageGroup, StorageTransferAction
import alpenhorn.db as adb
from alpenhorn.db import ArchiveFileCopy, ArchiveFileCopyRequest
from alpenhorn.db import StorageNode, StorageGroup, StorageTransferAction

from chimedb.data_index.orm import (
AcqFileTypes,
Expand Down
3 changes: 1 addition & 2 deletions test/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

from chimedb.data_index import util

from alpenhorn.archive import ArchiveFileCopy
from alpenhorn.storage import StorageGroup, StorageNode
from alpenhorn.db import ArchiveFileCopy, StorageGroup, StorageNode

from chimedb.data_index.orm import (
CorrAcqInfo,
Expand Down

0 comments on commit 5a54862

Please sign in to comment.