suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

Allow configurable printing #27

Open suever opened 9 years ago

suever commented 9 years ago

From darcymason@gmail.com on October 21, 2008 00:24:03

Let the user set visual preferences such as:

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

suever commented 9 years ago

From darcymason@gmail.com on October 21, 2008 21:15:10

Add to the list:

suever commented 9 years ago

From darcymason@gmail.com on May 17, 2009 11:02:38

dataset.formatted_lines() function provides functionality for this issue, but needs documentation and testing.

Status: Started

suever commented 9 years ago

From darcymason@gmail.com on January 16, 2012 20:08:31

Merging issue 29 into this one, as it involves output formatting: "Attribute class str() display usually truncates large items. But if multi-valued (a list) then len(value) can be small (the number of items in the list) but the printed list very large. Saw this in Senographe file with LUTs. Need to check the overall length of the output in case of lists."

Another thought: perhaps contexts (python >2.5 I think) might be a useful way to configure printing, as is done in the Decimal module (but hopefully not so unwieldy as that).

suever commented 9 years ago

From darcymason@gmail.com on January 16, 2012 20:09:28

Issue 29 has been merged into this issue.