Skip to content

Commit

Permalink
Merge pull request #190 from databio/dev_bbcache
Browse files Browse the repository at this point in the history
Release 0.5.2
  • Loading branch information
khoroshevskyi authored Oct 31, 2024
2 parents e507723 + 364d7b6 commit f3a9cfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion geniml/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1"
__version__ = "0.5.2"
3 changes: 1 addition & 2 deletions geniml/bbclient/bbclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,8 @@ def add_bed_to_cache(self, bedfile: Union[RegionSet, str], force: bool = False)
_LOGGER.info(f"{file_path} already exists in cache.")
else:
if bedfile.path is None or is_url(bedfile.path):
compression_opts = dict(method="zip", archive_name=f"{bedfile_id}.bed")
bedfile.to_pandas().to_csv(
file_path, index=False, compression=compression_opts, header=False, sep="\t"
file_path, index=False, compression="gzip", header=False, sep="\t"
)
else:
# copy the BED file out of cache
Expand Down

0 comments on commit f3a9cfe

Please sign in to comment.