Skip to content
GitLab
Menu
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
09fe4d50
Commit
09fe4d50
authored
Oct 29, 2015
by
Peter van 't Hof
Browse files
Fix fai check
parent
6ac2ce38
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Reference.scala
View file @
09fe4d50
...
...
@@ -121,7 +121,6 @@ object Reference {
*/
def
requireFai
(
fastaFile
:
File
)
:
Unit
=
{
val
fai
=
new
File
(
fastaFile
.
getAbsolutePath
+
".fai"
)
require
(
fai
.
exists
(),
"Reference is missing a fai file"
)
if
(
fai
.
exists
())
{
if
(!
IndexedFastaSequenceFile
.
canCreateIndexedFastaReader
(
fastaFile
))
Logging
.
addError
(
s
"Index of reference cannot be loaded, reference: $fastaFile"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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