* Made summation to 100% of StochasticSoilProfile instances more robust by taking into account limit precision of the double value type and use a tolerance around 100%. * Improved SQL queries to only consider Piping related profiles, instead of all 1D profiles and 2D profiles that happen to have a 'MechanismPointLocation' for extracting a 1D profile from a 2D profile. ** This requires to set a SoilProfileType at PipingSoilProfile construction time in order to properly match read profiles to read stochastic soil profiles in PipingSoilProfilesImporter. ** Updated *.soil databases in test data accordingly with new required rows in Segment, StochasticSoilModel and StochasticSoilProfile tables. Related to Issue [WTI-426] git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2770 5a3db67b-de53-47b5-99c8-a1c30a6650e2
- Refactored Piping soil profile count query such that it return the amount of profiles that can be read using ReadProfile -- Added a test for this - Refactored PipingSoilProfileReader such that the SQLite queries are (a bit) more readable Related to Issue [WTI-426] git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2682 5a3db67b-de53-47b5-99c8-a1c30a6650e2