core: detect compression, wrap in CPath if necessary
This commit is contained in:
parent
77deef98de
commit
092aef88ce
4 changed files with 18 additions and 10 deletions
|
@ -59,7 +59,6 @@ from typing import Tuple, Iterable, Dict, Sequence
|
|||
|
||||
from ..core import get_files
|
||||
from ..core.common import mcachew
|
||||
from ..kython.kompress import CPath
|
||||
|
||||
from .common import Event, parse_dt, Results
|
||||
|
||||
|
@ -70,7 +69,6 @@ def inputs() -> Sequence[Path]:
|
|||
|
||||
def _dal() -> dal.DAL:
|
||||
sources = inputs()
|
||||
sources = list(map(CPath, sources)) # TODO maybe move it to get_files? e.g. compressed=True arg?
|
||||
return dal.DAL(sources)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue