Skip to content
Snippets Groups Projects
Verified Commit ffc88c55 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

fix typo

parent 5931f140
No related branches found
No related tags found
1 merge request!2Implement worker
Pipeline #81802 passed
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -96,7 +96,7 @@ class DatasetExtractor(BaseWorker):
database_path = (
Path(self.args.database)
if self.is_read_only
else self.workdir / "db.sqlite"
else self.work_dir / "db.sqlite"
)
if database_path.exists():
database_path.unlink()
......@@ -276,7 +276,7 @@ class DatasetExtractor(BaseWorker):
self.process_split(split_name, split_id, image_folder)
# TAR + ZSTD Image folder and store as task artifact
zstd_archive_path = Path(self.work_dir) / "arkindex_data.zstd"
zstd_archive_path = self.work_dir / "arkindex_data.zstd"
logger.info(f"Compressing the images to {zstd_archive_path}")
create_tar_zstd_archive(folder_path=image_folder, destination=zstd_archive_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment