Module: Sequencescape::Api::ErrorHandling::TurnOffValidationOfUuidOnlyRecords

Defined in:
lib/sequencescape-api/error_handling.rb

Overview

– A bit of a fiddle this but any records that are UUID only are typically coming from the user having selected a load. If this has happened then there is no data and so none of the validations should be run. ++

Instance Method Summary collapse

Instance Method Details

#run_validations!Object



29
30
31
# File 'lib/sequencescape-api/error_handling.rb', line 29

def run_validations!
  uuid_only? ? true : super
end