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
7cca44be
Commit
7cca44be
authored
Dec 03, 2015
by
Peter van 't Hof
Browse files
Merge remote-tracking branch 'remotes/origin/develop' into shiva-refactor
parents
55629dcb
8e1b1d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/SamplesTsvToJson.scala
View file @
7cca44be
...
...
@@ -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