-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from p2m2/develop
Develop
- Loading branch information
Showing
10 changed files
with
198 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@************************************** | ||
* GCMS preview page. * | ||
* * | ||
* @ob The GCMS information to display * | ||
**************************************@ | ||
|
||
@import fr.inrae.metabolomics.p2m2.format.ms._ | ||
@import fr.inrae.metabolomics.p2m2.parser.ParserUtils | ||
|
||
@(obj : GCMS) | ||
@main("GCMS preview") { | ||
<h2>Header</h2> | ||
<table> | ||
@for(header <- GCMS.HeaderFileField.values.toSeq) { | ||
<tr> | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
<td>@obj.header.get(header)</td> | ||
</tr> | ||
} | ||
</table> | ||
|
||
<h2>Results</h2> | ||
|
||
<table> | ||
<tr> | ||
@for(header <- GCMS.HeaderField.values.toSeq) { | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
} | ||
</tr> | ||
@for(entry <- obj.msQuantitativeResults) { | ||
<tr> | ||
@for(header <- GCMS.HeaderField.values.toSeq) { | ||
<td>@entry.get(header)</td> | ||
} | ||
</tr> | ||
} | ||
</table> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@******************************************** | ||
* OpenLabCDS preview page. * | ||
* * | ||
* @ob The OpenLabCDS information to display * | ||
*********************************************@ | ||
|
||
@import fr.inrae.metabolomics.p2m2.format.ms._ | ||
@import fr.inrae.metabolomics.p2m2.parser.ParserUtils | ||
|
||
@(obj : OpenLabCDS) | ||
@main("OpenLabCDS preview") { | ||
<h2>Header</h2> | ||
<table> | ||
@for(header <- OpenLabCDS.HeaderFileField.values.toSeq) { | ||
<tr> | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
<td>@obj.header.get(header)</td> | ||
</tr> | ||
} | ||
</table> | ||
|
||
<h2>Results</h2> | ||
|
||
<table> | ||
<tr> | ||
@for(header <- OpenLabCDS.HeaderField.values.toSeq) { | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
} | ||
</tr> | ||
@for(entry <- obj.results) { | ||
<tr> | ||
@for(header <- OpenLabCDS.HeaderField.values.toSeq) { | ||
<td>@entry.get(header)</td> | ||
} | ||
</tr> | ||
} | ||
</table> | ||
} |
41 changes: 41 additions & 0 deletions
41
app/views/preview_QuantifyCompoundSummaryReportMassLynx.scala.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@*********************************************************************** | ||
* QuantifyCompoundSummaryReportMassLynx preview page. * | ||
* * | ||
* @ob The QuantifyCompoundSummaryReportMassLynx information to display * | ||
************************************************************************@ | ||
|
||
@import fr.inrae.metabolomics.p2m2.format.ms._ | ||
@import fr.inrae.metabolomics.p2m2.parser.ParserUtils | ||
|
||
@(obj : QuantifyCompoundSummaryReportMassLynx) | ||
@main("QuantifyCompoundSummaryReportMassLynx preview") { | ||
<h2>Header</h2> | ||
<table> | ||
<tr> | ||
<td><b>Printed Date</b></td> | ||
<td>@obj.header.dateStr</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
<h2>Results</h2> | ||
<table> | ||
<tr> | ||
<td> - </td> | ||
@for(header <- QuantifyCompoundSummaryReportMassLynx.HeaderField.values.toSeq) { | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
} | ||
</tr> | ||
@for(entry <- obj.resultsByCompound) { | ||
@for(values <- entry._2) { | ||
<tr> | ||
<td>@entry._1</td> | ||
@for(header <- QuantifyCompoundSummaryReportMassLynx.HeaderField.values.toSeq) { | ||
<td>@values.get(header)</td> | ||
} | ||
</tr> | ||
} | ||
} | ||
</table> | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@******************************************** | ||
* Xcalibur preview page. * | ||
* * | ||
* @ob The Xcalibur information to display * | ||
*********************************************@ | ||
|
||
@import fr.inrae.metabolomics.p2m2.format.ms._ | ||
@import fr.inrae.metabolomics.p2m2.parser.ParserUtils | ||
|
||
@(obj : Xcalibur) | ||
@main("Xcalibur preview") { | ||
<h2>Sheets</h2> | ||
|
||
@for(sheet <- obj.results) { | ||
<h3>Header</h3> | ||
<table> | ||
@for(header <- Xcalibur.HeaderSheetField.values.toSeq) { | ||
<tr> | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
<td>@sheet.compoundInformationHeader.get(header)</td> | ||
</tr> | ||
} | ||
</table> | ||
|
||
<h3>Results</h3> | ||
<table> | ||
<tr> | ||
@for(header <- Xcalibur.HeaderField.values.toSeq) { | ||
<td><b>@ParserUtils.toString(header)</b></td> | ||
} | ||
</tr> | ||
@for(values <- sheet.compoundByInjection) { | ||
<tr> | ||
@for(header <- Xcalibur.HeaderField.values.toSeq) { | ||
<td>@values.get(header)</td> | ||
} | ||
</tr> | ||
} | ||
</table> | ||
|
||
} | ||
|
||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters