Beatson Group sample/base python script