Error in Cask channel string type

In the documentation:

Accessing Cask Logs
Cask is the recording format used in Isaac SDK. Refer to :Record and Replay for recording and replaying logs. A sample application for recording logs can be found at apps/samples/camera/record_dummy.py.

Assuming that you have a recorded log in the /path/to/log/ folder, you can load the log in Python as follows:

from isaac import Cask, Message
cask = Cask('/path/to/log/')

# List all channels recorded
series = cask.channels['foo_channel']:    # Looks for channel named 'foo_channel'
for msg in series:                        # Goes through every messages one by one in recorded order
   print(msg.proto)
   print(msg.uuid)
   print(msg.acqtime)
   print(msg.pubtime)```

Where 'foo_channel' is defined as a string.

However, cask throws a runtime error:

opt/bin/apps/make_map_test/make_map_test.runfiles/com_nvidia_isaac_sdk/apps/make_map_test/make_map_test.py", line 8, in
series= cask.channels[‘pose_message’]
TypeError: list indices must be integers or slices, not str


So it doesn't accept strings.  But this works:

series= cask.channels[0]

Where 0 is an integer

Which provides:

bcb40560-26e2-f6be-0486-db26cf1b11eb
48293038163
48293685580
( pack = (
elementType = float64,
sizes = [1, 1, 4],
scanlineStride = 0,
dataBufferIndex = 0 ),
schema = “”,
data = )
bcb40560-26e2-f6be-048c-1b04cf1b11eb
48327393846
48328137955
( pack = (
elementType = float64,
sizes = [1, 1, 4],
scanlineStride = 0,
dataBufferIndex = 0 ),
schema = “”,
data = )