Skip to content

Commit

Permalink
Merge branch 'main' of github.com:snakemake/snakemake-storage-plugin-fs
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Dec 5, 2023
2 parents 6b1bee0 + 77b9ad5 commit 7a06e04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.1.2](https://github.com/snakemake/snakemake-storage-plugin-fs/compare/v0.1.1...v0.1.2) (2023-11-20)


### Bug Fixes

* create directory if not yet existing ([e8d959f](https://github.com/snakemake/snakemake-storage-plugin-fs/commit/e8d959faeea27face12dcb785679cfc7fa45595d))
* fix inventory ([25e56ba](https://github.com/snakemake/snakemake-storage-plugin-fs/commit/25e56ba4b4b5edf44c7838915b3b6ea6f2c95bb8))

## [0.1.1](https://github.com/snakemake/snakemake-storage-plugin-fs/compare/v0.1.0...v0.1.1) (2023-11-17)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "snakemake-storage-plugin-fs"
version = "0.1.1"
version = "0.1.2"
description = " A Snakemake storage plugin that reads and writes from a locally mounted filesystem using rsync"
authors = ["Johannes Koester <[email protected]>"]
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion snakemake_storage_plugin_fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from snakemake_interface_storage_plugins.io import (
IOCacheStorageInterface,
get_constant_prefix,
Mtime,
)


Expand Down Expand Up @@ -142,7 +143,7 @@ async def inventory(self, cache: IOCacheStorageInterface):
lstat = self._stat(follow_symlinks=False)
else:
lstat = stat
cache.mtime[key] = lstat.st_mtime
cache.mtime[key] = Mtime(storage=lstat.st_mtime)
cache.size[key] = stat.st_size
cache.exists_in_storage[key] = True

Expand Down

0 comments on commit 7a06e04

Please sign in to comment.