Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
bde3cbbf
Commit
bde3cbbf
authored
Jun 22, 2015
by
Peter van 't Hof
Browse files
No copy when file does not exist anymore
parent
4013b925
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/bammetrics/src/main/resources/nl/lumc/sasc/biopet/pipelines/bammetrics/covstatsPlot.ssp
View file @
bde3cbbf
...
...
@@ -14,7 +14,7 @@
val plot = new File(outputDir, target + "_cov_stats.png")
IoUtils.copyFile(originalPlot, plot)
if (originalPlot.exists())
IoUtils.copyFile(originalPlot, plot)
}#
<img src="${plot}">
public/flexiprep/src/main/resources/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepFastaqcPlot.ssp
View file @
bde3cbbf
...
...
@@ -17,7 +17,7 @@
case value => {
val file = new File(value.toString)
val newFile = new File(outputDir, read + "_" + file.getName)
FileUtils.copyFile(file, newFile)
if (file.exists())
FileUtils.copyFile(file, newFile)
newFile.getName
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment