Skip to content

Commit

Permalink
Migrate zarr checksum code
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna committed Aug 30, 2022
1 parent 364c9fe commit 75969a4
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions dandiapi/zarr/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
class ZarrConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'dandiapi.zarr'
verbose_name = 'DANDI: Zarr'
File renamed without changes.
2 changes: 1 addition & 1 deletion dandiapi/zarr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from dandiapi.api.models import Dandiset
from dandiapi.api.storage import get_embargo_storage, get_storage
from dandiapi.api.zarr_checksums import ZarrChecksum, ZarrChecksumFileUpdater
from dandiapi.zarr.checksums import ZarrChecksum, ZarrChecksumFileUpdater

logger = logging.Logger(name=__name__)

Expand Down
2 changes: 1 addition & 1 deletion dandiapi/zarr/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from django.db.transaction import atomic

from dandiapi.api.storage import get_boto_client, yield_files
from dandiapi.api.zarr_checksums import (
from dandiapi.zarr.checksums import (
ZarrChecksum,
ZarrChecksumFileUpdater,
ZarrChecksumListing,
Expand Down
2 changes: 1 addition & 1 deletion dandiapi/zarr/tests/test_ingest_zarr_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pytest

from dandiapi.api.models import Dandiset
from dandiapi.api.zarr_checksums import (
from dandiapi.zarr.checksums import (
ZarrChecksum,
ZarrChecksumFileUpdater,
ZarrChecksumListing,
Expand Down
2 changes: 1 addition & 1 deletion dandiapi/zarr/tests/test_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from dandiapi.api.models.dandiset import Dandiset
from dandiapi.api.tests.fuzzy import UUID_RE
from dandiapi.api.zarr_checksums import ZarrChecksumFileUpdater, ZarrChecksumUpdater
from dandiapi.zarr.checksums import ZarrChecksumFileUpdater, ZarrChecksumUpdater
from dandiapi.zarr.models import ZarrArchive, ZarrArchiveStatus, ZarrUploadFile
from dandiapi.zarr.tasks import ingest_zarr_archive

Expand Down
2 changes: 1 addition & 1 deletion dandiapi/zarr/tests/test_zarr_checksums.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest

from dandiapi.api.zarr_checksums import (
from dandiapi.zarr.checksums import (
ZarrChecksum,
ZarrChecksumFileUpdater,
ZarrChecksumListing,
Expand Down
2 changes: 1 addition & 1 deletion dandiapi/zarr/views/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from dandiapi.api.models.dandiset import Dandiset
from dandiapi.api.views.common import DandiPagination
from dandiapi.api.zarr_checksums import ZarrChecksumFileUpdater
from dandiapi.zarr.checksums import ZarrChecksumFileUpdater
from dandiapi.zarr.models import ZarrArchive, ZarrArchiveStatus, ZarrUploadFile
from dandiapi.zarr.tasks import cancel_zarr_upload, ingest_zarr_archive

Expand Down

0 comments on commit 75969a4

Please sign in to comment.