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
0b6db331
Commit
0b6db331
authored
Nov 26, 2015
by
Sander van der Zeeuw
Browse files
changes in tool, since the checking for samples starting with a number went wrong.
parent
abb2a281
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/SamplesTsvToJson.scala
View file @
0b6db331
...
...
@@ -71,7 +71,7 @@ object SamplesTsvToJson extends ToolCommand {
val
library
=
if
(
libraryColumn
!=
-
1
)
Some
(
values
(
libraryColumn
))
else
None
//FIXME: this is a workaround, should be removed after fixing #180
if
(
sample
.
head
.
isDigit
||
library
.
forall
(
_
.
head
.
isDigit
))
if
(
sample
.
head
.
isDigit
||
library
.
exists
(
_
.
head
.
isDigit
))
throw
new
IllegalStateException
(
"Sample or library may not start with a number"
)
if
(
sampleLibCache
.
contains
((
sample
,
library
)))
...
...
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