added try catch for graph generation code
Merge branch 'bbreg_merged_dev' of https://github.com/FCP-INDI/C-PAC into bbreg_merged_dev
feature/remove working_sir after run