fyda.DataBank.determine_shortcut¶
-
DataBank.
determine_shortcut
(filepath)[source]¶ Get the shortcut for a filepath based on already deposited values.
Parameters: filepath (str) – Absolute path to the file in question. Returns: - shortcut (str) – String value to use for shortcut
- rebase (bool) – Whether or not we need to rebase the users of the default shortcut code. This happens only if the current encoding level would create a new duplicate value.