Skip to content
Snippets Groups Projects

Make transferFlags a multivariate function

Merged David Schäfer requested to merge multi-transfer into develop
1 file
+ 6
4
Compare changes
  • Side-by-side
  • Inline
+ 6
4
@@ -377,10 +377,12 @@ class FlagtoolsMixin:
self._data[target] = pd.Series(np.nan, index=self._data[field].index)
self._flags._data[target] = History(self._data[target].index)
if not self._data[field].index.equals(self._data[target].index):
raise ValueError(f'All Field and Target indices must match!\n'
f'Indices of {field} and {target} seem to be not congruent within the context of the given\n'
f'- fields: {fields}\n '
f'- and targets: {targets}')
raise ValueError(
f"All Field and Target indices must match!\n"
f"Indices of {field} and {target} seem to be not congruent within the context of the given\n"
f"- fields: {fields}\n "
f"- and targets: {targets}"
)
history = self._flags.history[field].copy(deep=True)
if overwrite is False:
Loading