updated to new model format
This commit is contained in:
		@@ -13,21 +13,17 @@
 | 
			
		||||
<div *ngIf="result" class="result" [@inOut]>
 | 
			
		||||
  <ng-container *ngIf="multipleSamples; else singleSampleResult">
 | 
			
		||||
    <h4 *ngFor="let prediction of result.predictions; index as i">
 | 
			
		||||
      {{spectrumNames[i]}}: {{prediction}} {{activeGroup.models[activeModelIndex].label}}
 | 
			
		||||
      <a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
      {{spectrumNames[i]}}: {{prediction}}<a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
    </h4>
 | 
			
		||||
  </ng-container>
 | 
			
		||||
  <ng-template #singleSampleResult>
 | 
			
		||||
    <h4>
 | 
			
		||||
      Average result: {{result.meanPrediction}} {{activeGroup.models[activeModelIndex].label}}
 | 
			
		||||
      <a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>,
 | 
			
		||||
      standard deviation: {{result.std}}<a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
      Average result: {{result.mean}}<a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
    </h4>
 | 
			
		||||
    <a href="javascript:" class="rb-details-toggle" rbDetailsToggle #triggerDetails="rbDetailsToggle">Details</a>
 | 
			
		||||
    <div *ngIf="triggerDetails.open" class="space-below">
 | 
			
		||||
      <p *ngFor="let prediction of result.predictions; index as i">
 | 
			
		||||
        {{spectrumNames[i]}}: {{prediction}} {{activeGroup.models[activeModelIndex].label}}
 | 
			
		||||
        <a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
        {{spectrumNames[i]}}: {{prediction}}<a [routerLink]='"."' fragment="disclaimer"><sup>#</sup></a>
 | 
			
		||||
      </p>
 | 
			
		||||
    </div>
 | 
			
		||||
  </ng-template>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user