Comments (7)
To be able to still get information on author and date of publishing a database, I created audeering/audbackend#75 to support these for all backends.
/cc @Bahaabrougui
from audbcards.
Until audbackend
is updated it might be that we have to skip Dataset.publication
in the tests as it would make sense to use file-system
based repository that is created on the fly in the tests.
from audbcards.
I have used a dirty patch to circumvent the absence of publication here:
So if this could be implemented, the ugliness of the above patch could also be remedied.
from audbcards.
In audbackend
we have now added audbackend.Backend.owner()
(== author) in audeering/audbackend#127 and are going to add audbackend.Backend.date()
in audeering/audbackend#128, which means in the future those will be available independent of the backend. But as these are added to a version of audbackend
that has breaking changes it might take some time until they will arrive in audb
.
Until then it seems valid to me to add something like if self.repository.backend == 'file-system':
to provide a workaround so we also have something there in the tests for the file-system backend.
from audbcards.
The same we could do for repository_link
, e.g. just skip the link
if self.repository.backend == 'file-system':
return self.repository}
from audbcards.
So you say that for the time being, conditional execution depending on the backend type is ok, and the changes to audbackend are on their way, but patience is required, and no need to take initiative.
from audbcards.
Yes, exactly.
from audbcards.
Related Issues (11)
- Support database folders
- Support Dataset.repository_link on all backends
- Add tests for audbcards.Dataset HOT 20
- Missing creation of datasets folder which will contain the rst files
- Wave plot gets created under project root instead of build folder
- Extract build folder from sphinx
- Add support for templates HOT 3
- Use Database or Dataset as name for database class HOT 3
- Support creating data cards for non-published databases
- Limit the repository inside Dataset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audbcards.