docstr: Get the measurements made on the given object in the given category
docstr_tok: ["Get","the","measurements","made","on","the","given","object","in","the","given","category"]
code: def get_measurements(self, pipeline, object_name, category):
      """Get the measurements made on the given object in the given category"""
      if category == C_LOCATION:
          all_measurements = ALL_LOCATION_MEASUREMENTS
      elif category == INTENSITY:
          all_measurements = ALL_MEASUREMENTS
      else:
          return []
      for object_set in self.objects_list.value:
          if object_set == object_name:
              return all_measurements
      return []
  
imports: import centrosome.cpmorphology
  import centrosome.filter
  import centrosome.outline
  import numpy
  import scipy.ndimage
  import skimage.segmentation
  from cellprofiler_core.constants.measurement import C_LOCATION, COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Divider, ValidationError
  from cellprofiler_core.setting.subscriber import ImageListSubscriber, LabelListSubscriber
  from cellprofiler_core.utilities.core.object import crop_labels_and_image
  from cellprofiler.modules import _help
label_desc: Use image node_id 8 for calling the MeasureObjectIntensity obj's underlying member method code with example usage: obj.get_measurements(pipeline, object_name, category) and returns: list, list, all_measurements