Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
cd3466d1
Commit
cd3466d1
authored
14 years ago
by
kohleman
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-1634] added sample code column
SVN: 16985
parent
6f753abc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deep_sequencing_unit/source/java/ch/ethz/bsse/cisd/dsu/dss/plugins/IlluminaSummaryReportingPlugin.java
+8
-5
8 additions, 5 deletions
.../cisd/dsu/dss/plugins/IlluminaSummaryReportingPlugin.java
with
8 additions
and
5 deletions
deep_sequencing_unit/source/java/ch/ethz/bsse/cisd/dsu/dss/plugins/IlluminaSummaryReportingPlugin.java
+
8
−
5
View file @
cd3466d1
...
@@ -53,6 +53,7 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
...
@@ -53,6 +53,7 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
public
TableModel
createReport
(
List
<
DatasetDescription
>
datasets
)
public
TableModel
createReport
(
List
<
DatasetDescription
>
datasets
)
{
{
SimpleTableModelBuilder
builder
=
new
SimpleTableModelBuilder
();
SimpleTableModelBuilder
builder
=
new
SimpleTableModelBuilder
();
builder
.
addHeader
(
"Sample Code"
);
builder
.
addHeader
(
"Clusters"
);
builder
.
addHeader
(
"Clusters"
);
builder
.
addHeader
(
"Clusters (PF)"
);
builder
.
addHeader
(
"Clusters (PF)"
);
builder
.
addHeader
(
"Yield (kbases)"
);
builder
.
addHeader
(
"Yield (kbases)"
);
...
@@ -74,7 +75,7 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
...
@@ -74,7 +75,7 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
{
{
File
file
=
files
.
get
(
0
);
File
file
=
files
.
get
(
0
);
IlluminaSummary
summary
=
new
IlluminaSummaryXMLLoader
(
false
).
readSummaryXML
(
file
);
IlluminaSummary
summary
=
new
IlluminaSummaryXMLLoader
(
false
).
readSummaryXML
(
file
);
describeSummary
(
builder
,
summary
);
describeSummary
(
builder
,
summary
,
dataset
);
}
else
}
else
{
{
throw
new
EnvironmentFailureException
(
String
.
format
(
throw
new
EnvironmentFailureException
(
String
.
format
(
...
@@ -83,14 +84,16 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
...
@@ -83,14 +84,16 @@ public class IlluminaSummaryReportingPlugin extends AbstractDatastorePlugin impl
}
}
}
}
private
static
void
describeSummary
(
SimpleTableModelBuilder
builder
,
IlluminaSummary
summary
)
private
static
void
describeSummary
(
SimpleTableModelBuilder
builder
,
IlluminaSummary
summary
,
DatasetDescription
dataset
)
{
{
ChipResultsSummary
chipResultSummary
=
summary
.
getChipResultsSummary
();
ChipResultsSummary
chipResultSummary
=
summary
.
getChipResultsSummary
();
List
<
ISerializableComparable
>
row
=
List
<
ISerializableComparable
>
row
=
Arrays
.<
ISerializableComparable
>
asList
(
Arrays
.<
ISerializableComparable
>
asList
(
new
StringTableCell
(
chipResultSummary
.
getClusterCountPF
()),
new
StringTableCell
(
dataset
.
getSampleCode
()),
new
StringTableCell
(
new
StringTableCell
(
chipResultSummary
.
getClusterCountRaw
()),
chipResultSummary
.
getClusterCountPF
()),
new
StringTableCell
(
new
StringTableCell
(
chipResultSummary
.
getYield
()));
chipResultSummary
.
getClusterCountRaw
()),
new
StringTableCell
(
chipResultSummary
.
getYield
()));
builder
.
addRow
(
row
);
builder
.
addRow
(
row
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment