Open hagenw opened 2 months ago
For most datasets I have tested audbcards.Dataset.publication_owner it works as expected.
audbcards.Dataset.publication_owner
But for crema-d it behaves strange:
crema-d
>>> import audbackend >>> audbackend.__version__ '2.0.1' >>> backend = audbackend.backend.Artifactory('https://audeering.jfrog.io/artifactory', 'data-public') >>> maven = audbackend.interface.Maven(backend) >>> # Expected owner >>> with backend: ... print(maven.owner("/crema-d/db.yaml", "1.3.0")) audeering >>> import audeer >>> cache_root = audeer.path("cache") >>> audeer.rmdir(cache_root) >>> _ = audeer.mkdir(cache_root) >>> import audbcards >>> audbcards.__version__ '0.2.0' >>> ds = audbcards.Dataset("crema-d", "1.3.0", cache_root=cache_root) >>> ds.publication_owner '_system_'
Even though the code executed by audbcards.Dataset.publication_owner is identical to what I did above using audbackend:
audbackend
https://github.com/audeering/audbcards/blob/75e27c55961dd628cb25a97e8451f6277705e7ad/audbcards/core/dataset.py#L286-L291
/cc @ChristianGeng
The issue exists only for our public repository, not for our internal repositories.
For most datasets I have tested
audbcards.Dataset.publication_owner
it works as expected.But for
crema-d
it behaves strange:Even though the code executed by
audbcards.Dataset.publication_owner
is identical to what I did above usingaudbackend
:https://github.com/audeering/audbcards/blob/75e27c55961dd628cb25a97e8451f6277705e7ad/audbcards/core/dataset.py#L286-L291
/cc @ChristianGeng