diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Configurable.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Configurable.scala index e11dc477f433844aaad15c82c2f2358f3413e8fe..79992b82bd07d34e0c37f04c110f2e87f0b62273 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Configurable.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Configurable.scala @@ -38,6 +38,7 @@ trait Configurable extends ImplicitConversions { /** Map to store defaults for config */ def defaults: Map[String, Any] = Map() + /** This method merge defaults from the root to it's own */ protected def internalDefaults: Map[String, Any] = { (root != null, defaults.isEmpty) match { case (true, true) => root.defaults @@ -50,6 +51,7 @@ trait Configurable extends ImplicitConversions { /** All values found in this map will be skipped from the user config */ def fixedValues: Map[String, Any] = Map() + /** This method merge fixedValues from the root to it's own */ protected def internalFixedValues: Map[String, Any] = { (root != null, fixedValues.isEmpty) match { case (true, true) => root.fixedValues