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]