Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
b20abfad
Commit
b20abfad
authored
9 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Addind fixed values to .log folder
parent
37def774
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Config.scala
+6
-1
6 additions, 1 deletion
...c/main/scala/nl/lumc/sasc/biopet/core/config/Config.scala
with
6 additions
and
1 deletion
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Config.scala
+
6
−
1
View file @
b20abfad
...
...
@@ -207,9 +207,11 @@ class Config(protected var _map: Map[String, Any],
// Positions where values are found
val
found
=
convertIndexValuesToMap
(
foundCache
.
filter
(!
_
.
_2
.
default
).
toList
.
map
(
x
=>
(
x
.
_2
.
foundIndex
,
x
.
_2
.
value
)))
val
fixed
=
convertIndexValuesToMap
(
fixedCache
.
filter
(!
_
.
_2
.
default
).
toList
.
map
(
x
=>
(
x
.
_2
.
foundIndex
,
x
.
_2
.
value
)))
// Positions where to start searching
val
effectiveFound
=
convertIndexValuesToMap
(
foundCache
.
filter
(!
_
.
_2
.
default
).
toList
.
map
(
x
=>
(
x
.
_2
.
requestIndex
,
x
.
_2
.
value
)),
Some
(
false
))
val
effectiveFixed
=
convertIndexValuesToMap
(
fixedCache
.
filter
(!
_
.
_2
.
default
).
toList
.
map
(
x
=>
(
x
.
_2
.
requestIndex
,
x
.
_2
.
value
)),
Some
(
false
))
val
effectiveDefaultFound
=
convertIndexValuesToMap
(
defaultCache
.
filter
(
_
.
_2
.
default
).
toList
.
map
(
x
=>
(
x
.
_2
.
requestIndex
,
x
.
_2
.
value
)),
Some
(
false
))
val
notFound
=
convertIndexValuesToMap
(
notFoundCache
.
map
((
_
,
None
)),
Some
(
false
))
...
...
@@ -217,9 +219,12 @@ class Config(protected var _map: Map[String, Any],
val
fullEffective
=
ConfigUtils
.
mergeMaps
(
effectiveFound
,
effectiveDefaultFound
)
val
fullEffectiveWithNotFound
=
ConfigUtils
.
mergeMaps
(
fullEffective
,
notFound
)
writeMapToJsonFile
(
this
.
_map
,
"input"
)
writeMapToJsonFile
(
this
.
map
,
"input"
)
writeMapToJsonFile
(
this
.
defaults
,
"defaults"
)
writeMapToJsonFile
(
found
,
"found"
)
writeMapToJsonFile
(
fixed
,
"fixed"
)
writeMapToJsonFile
(
effectiveFound
,
"effective.found"
)
writeMapToJsonFile
(
effectiveFixed
,
"effective.fixed"
)
writeMapToJsonFile
(
effectiveDefaultFound
,
"effective.defaults"
)
writeMapToJsonFile
(
notFound
,
"not.found"
)
writeMapToJsonFile
(
fullEffective
,
"effective.full"
)
...
...
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