Compare commits

...

2 commits

Author SHA1 Message Date
3b64d8457b
import correct file as tracker
Some checks failed
Mypy / mypy (push) Failing after 34s
Pytest / pytest (3.12) (push) Failing after 47s
Pytest / pytest (3.13) (push) Failing after 46s
Pytest / pytest (3.14) (push) Failing after 45s
Ruff / ruff (push) Failing after 35s
2025-12-04 11:23:07 +01:00
2100d90511
chore: cleanup 2025-12-04 11:21:13 +01:00
4 changed files with 1 additions and 21 deletions

View file

@ -1,7 +0,0 @@
import .datalad as dl
class DataBackend:
@abstractmethod
def get_file(self, data, file):
pass

View file

@ -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")

View file

@ -2,7 +2,7 @@ from configparser import ConfigParser
import sqlite3
import datalad.api as dl
import os
import tracker as tr
import .tracker as tr
def _create_db(db: str) -> None: