segmenter: remove description from metadata

This commit is contained in:
Romain Bazile 2020-12-08 16:52:50 +01:00
parent dfdcf66be5
commit fde4b166d4

View file

@ -240,6 +240,10 @@ class SegmenterProcess(multiprocessing.Process):
f"Configuration loaded is {self.__global_metadata}"
)
# TODO Remove all the keys that don't start with acq, sample, object or process
# Otherwise Ecotaxata is annoying as fuck
self.__global_metadata.pop("description")
project = self.__global_metadata["sample_project"].replace(" ", "_")
date = self.__global_metadata["process_datetime"]
sample = self.__global_metadata["sample_id"]