package Messages;
use lib qw(Core);

use vars qw/@ISA @EXPORT @EXPORT_OK/;
@EXPORT_OK = ();
@EXPORT = qw/$MESSAGES/;
@ISA = qw/Exporter/;

our $MESSAGES = {
    # rough filter errors
    FIELD_PFRMAT_ERROR => "Field PFRMAT is required.\n\tPFRMAT XX\n\twhere XX - format (TS\\DR\\AL\\RR\\FN\\QA)",
    FIELD_PFRMAT_SS_ERROR => "Secondary structure predictions (SS) are not accepted in CASP9.\n\tPFRMAT XX\n\twhere XX - format (TS\\DR\\AL\\RR\\FN\\QA)",
    FIELD_AUTHOR_ERROR => "Field AUTHOR is required.\n\tAUTHOR XXXX-XXXX-XXXX\n\twhere XXXX-XXXX-XXXX is a group code",
    FIELD_TARGET_ERROR => "Field TARGET is required.\n\tTARGET T0XXX\n\twhere T0XXX is a target name",
    FIELD_MODEL_ERROR  => "Field MODEL is required.\n\tMODEL  n\twhere n is a number that indicates predictor\'s ranking according to her/his belief which model is closest to the target structure (1 <= n <= 5)",
    FIELD_PARENT_ERROR => "Field PARENT is required.\n\tPARENT ...\n\ Please set field value to N/A in case of no parent.",
    FIELD_METHOD_ERROR => "Field METHOD is required.",
    FIELD_END_ERROR => "Field END is required.\n\tEND record is used for all predictions and indicates the end of a single model submission",
    AUTHORIZATION_VALIDATION_FAILED => "Authorization failed.\n Please check AUTHOR or REMARK AUTHOR field",
    SUCCES_TMP_NOTIFICATION => "You will NOT be receiving this confirmation email during the regular CASP9 season.",    
    
    MODELS_REARANGE_ERROR => "No models were found in your prediction",
    
    
    TARGET_EXPIRED_ERROR => "This target has already expired for blind predictions",
    
    AUTHOR_VALIDATION_FAILED => "Submission ERROR for %s",
    
    ROUGH_VALIDATION_FAILED => "Submission ERROR for %s",
    
    TARGET_VALIDATION_FAILED => "Submission ERROR for %s (%s, %s, %s)",
    
    SEVERE_VALIDATION_FAILED => "Submission ERROR for %s (%s, %s, %s, model: %s)",
    
    VALIDATION_FAILED => "Submission ERROR for %s (%s, %s, %s)",
    
    FORMAT_SUCCESS_SUBJECT => "CASP9 - Submission accepted (%s, %s, %s, model: %s)",
    
    FORMAT_SUCCESS_BODY => "Submission accepted for %s (%s, %s, %s, model: %s)",



#FORMAT_ERROR_HEADER ###################################
FORMAT_ERROR_HEADER => "
YOUR SUBMISSION CANNOT BE ACCEPTED 
THE FORMAT OF YOUR PREDICTION IS NOT CORRECT

Please check the format at:
http://predictioncenter.org/casp9/index.cgi?page=format

##########################################################

OUTPUT FROM THE VERIFICATION SERVER BELOW",


#FORMAT_ERROR_FOOTER #####################################
FORMAT_ERROR_FOOTER => "",

};


1;
