Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
author = 'Matthew McEneaney'

release = '2.0'
version = '2.0.0'
version = '2.0.1'

# -- General configuration

Expand Down
2 changes: 1 addition & 1 deletion hipopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Hipopy - Python library for reading CLAS12 HIPO files
"""

__version__ = "2.0.0"
__version__ = "2.0.1"

from .hipopy import *
16 changes: 6 additions & 10 deletions hipopy/hipopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def getInts(self, bankName, item):
Get a column of ints from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getInts(item)
data = hipopybind.getInts(bank, item)
return data

def getFloats(self, bankName, item):
Expand All @@ -726,7 +726,7 @@ def getFloats(self, bankName, item):
Get a column of floats from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getFloats(item)
data = hipopybind.getFloats(bank, item)
return data

def getDoubles(self, bankName, item):
Expand All @@ -748,7 +748,7 @@ def getDoubles(self, bankName, item):
Get a column of doubles from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getDoubles(item)
data = hipopybind.getDoubles(bank, item)
return data

def getShorts(self, bankName, item):
Expand All @@ -770,7 +770,7 @@ def getShorts(self, bankName, item):
Get a column of shorts from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getShorts(item)
data = hipopybind.getShorts(bank, item)
return data

def getLongs(self, bankName, item):
Expand All @@ -792,7 +792,7 @@ def getLongs(self, bankName, item):
Get a column of longs from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getLongs(item)
data = hipopybind.getLongs(bank, item)
return data

def getBytes(self, bankName, item):
Expand All @@ -814,7 +814,7 @@ def getBytes(self, bankName, item):
Get a column of bytes from the data table in the current event's bank.
"""
bank = self.banklist[bankName]
data = bank.getBytes(item)
data = hipopybind.getBytes(bank, item)
return data

def __iter__(self):
Expand All @@ -835,7 +835,6 @@ def __init__(self, hpfile):
if self.hpfile.mode != "w":
self.hpfile.readAllBanks() # IMPORTANT!
self.banks = self.hpfile.getBanks()
self.verbose = False # NOTE: Not really necessary.
self.items = {}

# Read all requested banks
Expand Down Expand Up @@ -893,8 +892,6 @@ class hipochain:
Batch size for reading banks
mode : string
Currently fixed to always be in read mode ("r")
verbose : boolean
Currently fixed to always be False
tags : int or list of ints
Set bank tags for reader to use. 0 works for most banks.
1 is needed for scaler banks.
Expand Down Expand Up @@ -924,7 +921,6 @@ def __init__(self, names, banks=None, step=100, tags=None, experimental=True):
self.banks = banks
self.step = step
self.mode = "r"
self.verbose = False
self.tags = tags
self.experimental = experimental

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 = "hipopy"
version = "2.0.0"
version = "2.0.1"
license = "MIT"
description = "UpROOT-Like I/O Interface for CLAS12 HIPO Files"
authors = ["Matthew McEneaney <matthew.mceneaney@duke.edu>"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hipopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == "2.0.0"
assert __version__ == "2.0.1"