code: def getDepartments(self):
          
          departments = list()
          for analysis in self.getAnalyses(full_objects=True):
              department = analysis.getDepartment()
              if department and department not in departments:
                  departments.append(department)
          return departments
docs: Returns a list of the departments assigned to the Analyses
          from this Analysis Request