Closed peterjamesnugent closed 11 months ago
@BHoMBot check project-compliance
- Do not generate the \Text Files folder when running the adapter, just read the AGS file directly
@BHoMBot check project-compliance
@BHoMBot check code-compliance @BHoMBot check project-compliance @BHoMBot check copyright-compliance
@BHoMBot check code-compliance @BHoMBot check copyright-compliance @BHoMBot check documentation-compliance @BHoMBot check project-compliance
@BHoMBot check code-compliance @BHoMBot check project-compliance
@BHoMBot check project-compliance
NOTE: Depends on
https://github.com/BHoM/BHoM/pull/1560 https://github.com/BHoM/BHoM_Engine/pull/3189
Issues addressed by this PR
Closes #1 Closes #2
Test files
Initial functionality test Fuzzy Matching test AGS Files
Changelog
Borehole
andStratum
objects from AGS files (and their associated properties) based on the LOCA and GEOL tablesContaminantSample
s (and its associated properties) based on the ERES tableSimpleRatio
,PartialRatio
,TokenSortRatio
,TokenSetRatio
,TokenInitialismRatio
,TokenAbbreviationRatio
,WeightedRatio
which can be called by inputting twostring
s to compareExtractOne
,ExtractTop
,ExtractAll
andExtractSorted
which has twooverloads method, one to define theScorer
and one to provideList<BHoMObjects
and a property name to use to compare against a query (e.g.SectionProperty.Material.Name
)FuzzyResult<T>
that stores the objectT
, the score from the algorithm and the index of the item;Extract
method has different outputs that can be modified, for example the number of results to return or a cutoff for the scoring.Additional comments
Branch name is different to allow oM and Engine PRs to be merged quicker so that the AGS_Toolkit does not hold up the core repos.