Closed BGogoi2 closed 3 years ago
Hi! Notice that curves is a method on Frame (frame), not on LogicalFile (f).
Below should work
with dlis.load("filename") as files:
for f in files:
for frame in f.frames:
curves = frame.curves()
Thank you so much! It works. Could you also change the code in the tutorial example so that it becomes helpful for the new users?
Thank you for pointing that out, done!
I am using the code from the tutorial- with dlis.load("filename") as files: for f in files: for frame in f.frames: curves = f.curves()
But it is saying "AttributeError: 'LogicalFile' object has no attribute 'curves'" How to encounter this problem?