Skip to content

Commit

Permalink
Merge pull request #30 from FAST-HEP/BK_preserve_current_treename_style
Browse files Browse the repository at this point in the history
If treename has len == 0 leave as string
  • Loading branch information
benkrikler authored Oct 6, 2019
2 parents 59e9532 + e282244 commit ab46eb6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fast_curator/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion fast_curator/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.0
current_version = 0.4.1
commit = True
tag = False

Expand Down

0 comments on commit ab46eb6

Please sign in to comment.