Add os.path for internal file
In mapping_using_api.py:
import path from os
And then, in opt_multimapping function:
folder = path.realpath(path.dirname(__file__))
cpdb_base = path.join(folder, "static", "CPDB_all_pathways_12-12-2023.xlsx")
Évolutions importantes à venir autour de Mattermost (chat.forge.inrae.fr). Plus d'infos sur notre blog.
In mapping_using_api.py:
import path from os
And then, in opt_multimapping function:
folder = path.realpath(path.dirname(__file__))
cpdb_base = path.join(folder, "static", "CPDB_all_pathways_12-12-2023.xlsx")