bug fix: use DiagramGeneratorFromDB class to set hasDiagram in a shell
Pathway instance so that the new normalPathway slot can be considered.