Skip to content
Snippets Groups Projects
Unverified Commit 76dc2639 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

remove debug modifs

parent ef9e796a
No related branches found
No related tags found
1 merge request!2Implement worker
Pipeline #81812 passed
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
# Will automatically login to a registry if CI_REGISTRY, CI_REGISTRY_USER and CI_REGISTRY_PASSWORD are set. # Will automatically login to a registry if CI_REGISTRY, CI_REGISTRY_USER and CI_REGISTRY_PASSWORD are set.
# Will only push an image if $CI_REGISTRY is set. # Will only push an image if $CI_REGISTRY is set.
VERSION="POC"
if [ -z "$VERSION" ]; then if [ -z "$VERSION" ]; then
VERSION=${CI_COMMIT_TAG:-latest} VERSION=${CI_COMMIT_TAG:-latest}
fi fi
......
...@@ -77,15 +77,15 @@ class DatasetExtractor(BaseWorker): ...@@ -77,15 +77,15 @@ class DatasetExtractor(BaseWorker):
""" """
logger.info("Retrieving information from process_information") logger.info("Retrieving information from process_information")
train_folder_id = self.config.get("train_folder_id") train_folder_id = self.process_information.get("train_folder_id")
assert train_folder_id, "A training folder id is necessary to use this worker" assert train_folder_id, "A training folder id is necessary to use this worker"
self.training_folder_id = UUID(train_folder_id) self.training_folder_id = UUID(train_folder_id)
val_folder_id = self.config.get("validation_folder_id") val_folder_id = self.process_information.get("validation_folder_id")
assert val_folder_id, "A validation folder id is necessary to use this worker" assert val_folder_id, "A validation folder id is necessary to use this worker"
self.validation_folder_id = UUID(val_folder_id) self.validation_folder_id = UUID(val_folder_id)
test_folder_id = self.config.get("test_folder_id") test_folder_id = self.process_information.get("test_folder_id")
self.testing_folder_id: UUID | None = ( self.testing_folder_id: UUID | None = (
UUID(test_folder_id) if test_folder_id else None UUID(test_folder_id) if test_folder_id else None
) )
......
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