<commit_before>package uk.ac.wellcome.platform.transformer.sierra.transformers.sierra

import uk.ac.wellcome.models.work.internal.{AbstractRootConcept, MaybeDisplayable, Subject}
import uk.ac.wellcome.platform.transformer.sierra.source.SierraBibData
import uk.ac.wellcome.platform.transformer.sierra.transformers.sierra.subjects.{SierraConceptSubjects, SierraPersonSubjects}

trait SierraSubjects extends SierraConceptSubjects with SierraPersonSubjects {
  def getSubjects(bibData: SierraBibData): List[Subject[MaybeDisplayable[AbstractRootConcept]]] =
    getSubjectswithAbstractConcepts(bibData) ++
      getSubjectsWithPerson(bibData)
}<commit_msg>Get the organisation subjects in the Sierra transformer<commit_after>package uk.ac.wellcome.platform.transformer.sierra.transformers.sierra

import uk.ac.wellcome.models.work.internal.{AbstractRootConcept, MaybeDisplayable, Subject}
import uk.ac.wellcome.platform.transformer.sierra.source.SierraBibData
import uk.ac.wellcome.platform.transformer.sierra.transformers.sierra.subjects.{SierraConceptSubjects, SierraOrganisationSubjects, SierraPersonSubjects}

trait SierraSubjects extends SierraConceptSubjects with SierraPersonSubjects with SierraOrganisationSubjects {
  def getSubjects(bibData: SierraBibData): List[Subject[MaybeDisplayable[AbstractRootConcept]]] =
    getSubjectswithAbstractConcepts(bibData) ++
      getSubjectsWithPerson(bibData) ++
      getSubjectsWithOrganisation(bibData)
}
{'fraction_non_alphanumeric': 0.08344827586206896, 'fraction_numerical': 0.0, 'mean_word_length': 8.242038216560509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1470956', 'n_tokens_mistral': 430, 'n_tokens_neox': 421, 'n_words': 57}