AttocubeScan.compress

AttocubeScan.compress(base=None, key='.', keep_terminal=False)

Compresses all empty groups from the root up until the first non-empty group is located.

Parameters:

fldr (BaseFolder) – DataFolder instance when not a bound method.

Keyword Arguments:
  • base (str,None) – default None

  • key (str) – default “.”

  • keep_terminal (gool) – default False

Returns:

A copy of the now flattened DatFolder