diff --git a/kadmos/vistoms/vistoms.py b/kadmos/vistoms/vistoms.py index b85750cae1d4f5d8f0b6fe6ea91b6e92ea684ccd..52835c50e49db2f9b04bd250b7e3b27af28db674 100644 --- a/kadmos/vistoms/vistoms.py +++ b/kadmos/vistoms/vistoms.py @@ -100,6 +100,7 @@ def kadmos_upload_file(): dgFile.save(os.path.join(UPLOAD_FOLDER, dgFile.filename)) loaded_graph = load(graphFileName, file_check_critical=False) + loaded_graph.graph["name"] = os.path.splitext(dgFile.filename)[0].replace("_",".") # Remove the uploaded file (and if existing, database directory) from the temp folder os.remove(graphFileName) if os.path.exists(database_dir):