refactor/data_backend #12
3 changed files with 0 additions and 20 deletions
chore: cleanup
commit
2100d90511
|
|
@ -1,7 +0,0 @@
|
|||
import .datalad as dl
|
||||
|
||||
|
||||
class DataBackend:
|
||||
@abstractmethod
|
||||
def get_file(self, data, file):
|
||||
pass
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
import datalad.api as dl
|
||||
import os
|
||||
from corrlib.data_backend.databackend import
|
||||
|
||||
def DLBackend()
|
||||
|
||||
def get_file(path, file):
|
||||
if file == "backlogger.db":
|
||||
print("Downloading database...")
|
||||
else:
|
||||
print("Downloading data...")
|
||||
dl.get(os.path.join(path, file), dataset=path)
|
||||
print("> downloaded file")
|
||||
Loading…
Add table
Add a link
Reference in a new issue