Skip to content
Open
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
4 changes: 2 additions & 2 deletions h5plexos/query/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def _partial_query(*args, **kwargs):
def query_object_property(
self, object_class, prop,
names=slice(None), categories=slice(None),
timescale="interval", timespan=slice(None), phase="ST"):
timescale="interval", timespan=slice(None), phase="ST", pluralize=True):

if ((0,6,0) <= self.version and self.version < (0,7,0)):
if ((0,6,0) <= self.version and self.version < (0,7,0)) and pluralize:
object_class += "s"

obj_lookup = self.objects[object_class].loc[(categories, names),].sort_values()
Expand Down