Skip to content

Remove use of the zarr_archive_factory test fixture#2613

Open
brianhelba wants to merge 2 commits intomasterfrom
zarr-factory
Open

Remove use of the zarr_archive_factory test fixture#2613
brianhelba wants to merge 2 commits intomasterfrom
zarr-factory

Conversation

@brianhelba
Copy link
Collaborator

No description provided.

zarr=zarr_archive_factory(
status=ZarrArchiveStatus.COMPLETE, checksum=EMPTY_CHECKSUM, size=0, file_count=0
zarr=ZarrArchiveFactory.create(
dandiset=draft_version.dandiset,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this change.

Previously, the draft_asset.versions[].dandiset and the draft_asset.zarr.dandiset didn't match. I think this is a correction, but I'm not certain about the intent of the data model.

blob=None,
zarr=zarr_archive_factory(
zarr=ZarrArchiveFactory.create(
dandiset=draft_version.dandiset,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same change here, making the dandiset match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant