app/models/user_analysis.rb
# validate that this method has the correct required input/output parameters to work with the orchestration WDL
validate that this method has the correct required input/output parameters to work with the orchestration WDL
validate that this method has the correct required input / output parameters to work with the orchestration WDL
def validate_required_parameters
    reference_analysis_config = self.reference_analysis.configuration_settings
    user_config = self.configuration_settings
    Rails.logger.info "Validating user_analysis #{self.full_name} inputs/outputs"
    unless user_config[:error].nil? && user_config == reference_analysis_config
      user_client = FireCloudClient.new(self.user)
      user_client.delete_method(self.namespace, self.name, self.snapshot)
      errors.add(:wdl_contents, "do not match the reference analysis workflow input/output parameters. " +
          "Please refer to #{self.reference_analysis.wdl_view_url(:analysis_wdl)} for more information.")
    end
  end
def validate_required_parameters reference_analysis_config = self . reference_analysis . configuration_settings user_config = self . configuration_settings Rails . logger . info "Validating user_analysis #{self.full_name} inputs/outputs" unless user_config [ :error ] . nil? && user_config == reference_analysis_config user_client = FireCloudClient . new ( self . user ) user_client . delete_method ( self . namespace , self . name , self . snapshot ) errors . add ( :wdl_contents , "do not match the reference analysis workflow input/output parameters. " + "Please refer to #{self.reference_analysis.wdl_view_url(:analysis_wdl)} for more information." ) end end
validate that this method has the correct required input/output parameters to work with the orchestration WDL
validate that this method has the correct required input / output parameters to work with the orchestration WDL
# redact this wdl so there are no orphans