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.

Returns:

A copy of the now flattened DatFolder