preSummarizePromise(contribution, meta) {

    console.log('preSummarizePromise');

    if (!contribution) {
      this._appendError(`Invalid contribution.`);
      return Promise.resolve();
    }

    this.contribution = contribution;
    this.json = {};
    this.reset();
    this._initProp(this.json, 'contribution', _.merge({ summary: { contribution: { data_model_version: _.last(versions) }}}, meta));

    return this._summarizeTables();

  }
// Return a promise for creating the pre-summary
Return a promise for creating the pre-summary
Return a promise for creating the pre - summary
preSummarizePromise(contribution, meta) {
    console.log('preSummarizePromise');
    if (!contribution) {
      this._appendError(`Invalid contribution.`);
      return Promise.resolve();
    }
    this.contribution = contribution;
    this.json = {};
    this.reset();
    this._initProp(this.json, 'contribution', _.merge({ summary: { contribution: { data_model_version: _.last(versions) }}}, meta));
    return this._summarizeTables();
  }
preSummarizePromise ( contribution , meta ) { console . log ( 'preSummarizePromise' ) ; if ( ! contribution ) { this . _appendError ( ` ` ) ; return Promise . resolve ( ) ; } this . contribution = contribution ; this . json = { } ; this . reset ( ) ; this . _initProp ( this . json , 'contribution' , _ . merge ( { summary : { contribution : { data_model_version : _ . last ( versions ) } } } , meta ) ) ; return this . _summarizeTables ( ) ; }
Return a promise for creating the pre-summary
Return a promise for creating the pre - summary