diff --git a/CHANGELOG.md b/CHANGELOG.md index caef7da..d2d9478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Removed +## [0.4.1] - 2019-10-06 +### Changed +- Save tree_name as single string if only one tree included, PR #30 + ## [0.4.0] - 2019-10-06 ### Added - Support for handling mulitple input trees in each file, PR #28 diff --git a/fast_curator/version.py b/fast_curator/version.py index 6e06bfc..f337cef 100644 --- a/fast_curator/version.py +++ b/fast_curator/version.py @@ -12,5 +12,5 @@ def split_version(version): return tuple(result) -__version__ = '0.4.0' +__version__ = '0.4.1' version_info = split_version(__version__) # noqa diff --git a/fast_curator/write.py b/fast_curator/write.py index 24bc48c..a549f98 100644 --- a/fast_curator/write.py +++ b/fast_curator/write.py @@ -40,7 +40,7 @@ def prepare_file_list(files, dataset, eventtype, tree_name, expand_files="xrootd data["nevents"] = numentries data["nfiles"] = len(full_list) data["files"] = full_list - data["tree"] = tree_name + data["tree"] = tree_name[0] if len(tree_name) == 1 else tree_name if branches: data["branches"] = branches diff --git a/setup.cfg b/setup.cfg index e894806..b7685b0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.4.0 +current_version = 0.4.1 commit = True tag = False