sovabids.heuristics
¶
Heuristics Module
Functions should return a dictionary.
Module Contents¶
Functions¶
|
Get the path pattern from a source-target mapping example. |
- sovabids.heuristics.from_io_example(sourcepath, targetpath)[source]¶
Get the path pattern from a source-target mapping example.
- Parameters
sourcepath (str) – The sourcepath that will be modified to get the path pattern
targetpath (str) – The bidspath we are going to derive the information on.
- Returns
- {
‘pattern’: The path pattern in placeholder format.
}
- Return type
dict