Skip to content

Commit

Permalink
fix(io): include csv files in default model summary archive
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <[email protected]>
  • Loading branch information
cameronraysmith committed Aug 5, 2024
1 parent 98f5bd6 commit 8b7c809
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pyrovelocity/io/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
from beartype import beartype
from fsspec import AbstractFileSystem
from fsspec.implementations.local import LocalFileSystem
from returns.result import Failure
from returns.result import Result
from returns.result import Success
from returns.result import Failure, Result, Success

from pyrovelocity.logging import configure_logging


__all__ = ["create_tarball_from_filtered_dir"]

logger = configure_logging(__name__)
Expand All @@ -21,7 +18,7 @@
def create_tarball_from_filtered_dir(
src_dir: Path | str,
output_filename: Path | str,
extensions: tuple[str, ...] = (".png", ".pdf"),
extensions: tuple[str, ...] = (".png", ".pdf", ".csv"),
) -> Result[None, Exception]:
"""
Creates a gzipped tarball of files with specific extensions under the given
Expand Down

0 comments on commit 8b7c809

Please sign in to comment.