suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

Quick reading of file info, avoiding large items #29

Closed suever closed 10 years ago

suever commented 10 years ago

From darcymason@gmail.com on December 01, 2008 17:35:29

filereader.ReadFileMetaInfo() can avoid reading a whole file but only gives limited information. Should add the ability to still read all information but delay reading of large values (e.g. pixels, dose grid) until actually needed. Possible solution: have a flag in Attribute instance to mark whether has actually been read in. A danger of this is that one has to re-open the file to read those values ... if any changes have been made to the file then this could be dangerous. Will need a flag for date/time stamp and/or recheck the instance UID to make sure is same file.

Original issue: http://code.google.com/p/pydicom/issues/detail?id=28

suever commented 10 years ago

From darcymason@gmail.com on December 09, 2008 20:27:52

Looked at an iterator solution as a way of giving more freedom in partially reading a file -- posted test file fileiter.py to the pydicom google group. This file uses a generator to return one data element at a time, and example code for stopping after reading a list of certain desired items.

Status: Started

suever commented 10 years ago

From darcymason@gmail.com on December 17, 2008 16:00:25

Labels: Milestone-Release1.0

suever commented 10 years ago

From darcymason@gmail.com on April 19, 2009 16:20:21

Added new DeferredDataElement class and support code in r102 , unit tests in r103 .

Status: Fixed

suever commented 10 years ago

From darcymason@gmail.com on September 23, 2009 04:31:39

Re-opened the issue to deal with the common request to stop reading before big data. The fileiter.py example could be a starting point for this.

Status: Started
Labels: -Priority-Medium Priority-High

suever commented 10 years ago

From darcymason@gmail.com on September 23, 2009 04:43:13

changed issue title to reflect focus on reading limited info only

Summary: Quick reading of file info, avoiding large items

suever commented 10 years ago

From darcymason@gmail.com on October 19, 2009 17:57:00

Set this as goal for next release

Labels: -Milestone-Release1.0 Milestone-NextRelease

suever commented 10 years ago

From darcymason@gmail.com on December 23, 2009 19:57:16

This issue was closed by revision e6658da821 .

Status: Fixed
Mergedinto: -