In the function file_metadata of the class Dataset (file dataset.py), the return value should be "return self.GroupDataset(2)" instead of "return GroupDataset(2)"
It works as long as GroupDataset is called within the file dataset.py, but when calling myDataset.file_metadata() from outside, an error is raised that the function GroupDataset is missing/unknown.
From stefan.s...@gmail.com on November 11, 2010 02:23:59
In the function file_metadata of the class Dataset (file dataset.py), the return value should be "return self.GroupDataset(2)" instead of "return GroupDataset(2)"
It works as long as GroupDataset is called within the file dataset.py, but when calling myDataset.file_metadata() from outside, an error is raised that the function GroupDataset is missing/unknown.
Original issue: http://code.google.com/p/pydicom/issues/detail?id=93