From abc5513268fd658d6d8a44e5c46fc50095509a8d Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 18 Apr 2021 10:01:26 +0200 Subject: [PATCH] Feat: origin store as string --- recopytex/database/filesystem/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recopytex/database/filesystem/loader.py b/recopytex/database/filesystem/loader.py index baa102c..27d8130 100644 --- a/recopytex/database/filesystem/loader.py +++ b/recopytex/database/filesystem/loader.py @@ -100,7 +100,7 @@ class CSVLoader(Loader): exam = extract_fields(csv, fields) exam = self.rename_columns(exam) exam = exam.rename(columns={"exam": "name"}) - exam["origin"] = csv + exam["origin"] = str(csv) exam["tribe"] = tribe exam["id"] = build_id( self._config["id_templates"]["exam"], exam.iloc[0]