prearchive transfer

68 views
Skip to first unread message

Satrajit Ghosh

unread,
May 15, 2012, 9:26:36 PM5/15/12
to xnat_di...@googlegroups.com
hi,

a collaborator uploaded a dicom series (PHANTOM003) to central.xnat.org for the DICOMPHANTOMS project. the prearchive shows a row for every run and when i try to archive it, i get a strange error message.

Operation Failed: Invalid modification of session subject via archive process.


any thoughts on how i can archive these images into a single subject session.

cheers,

satra

Message has been deleted

Rick Herrick

unread,
May 16, 2012, 11:31:14 AM5/16/12
to xnat_di...@googlegroups.com
Satra,

I'm looking into this at the moment. I see all the sessions in the pre-archive, so I've pulled them out and downloaded them separate from the system. I'll let you know what I find.

Herrick, Rick

unread,
May 16, 2012, 12:44:34 PM5/16/12
to xnat_di...@googlegroups.com

It appears that these are showing up as different studies because, according to the DICOM, they’re different studies. I aggregated all of the scans into a single folder under DCMPHANTOM. This is basically how they were stored in the prearchive. Each set of scans is there under that folder in a folder named according to the upload time of the scan. So there are 26 different rows appearing in the prearchive and, when you open that top-level folder up in DICOM Browser, there are 26 different study instance IDs represented. The study instance ID is stored at (0020,000D) in the DICOM headers. This is what we use to correlate the various scan files into a single DICOM study.

 

If you truly want these to be part of a single study, you can open them in DICOM Browser and modify the study instance ID there, or you can merge the studies in OsiriX or… something else like that. But XNAT itself is actually doing the correct thing as it sees it.

 

HTH.

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xnat_discussion/-/KbJOCcxXrHIJ.
To post to this group, send email to xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.




The material in this message is private and may contain Protected Healthcare Information (PHI). If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Satrajit Ghosh

unread,
May 16, 2012, 1:48:16 PM5/16/12
to xnat_di...@googlegroups.com
hi rick,

It appears that these are showing up as different studies because, according to the DICOM, they’re different studies. I aggregated all of the scans into a single folder under DCMPHANTOM. This is basically how they were stored in the prearchive. Each set of scans is there under that folder in a folder named according to the upload time of the scan. So there are 26 different rows appearing in the prearchive and, when you open that top-level folder up in DICOM Browser, there are 26 different study instance IDs represented. The study instance ID is stored at (0020,000D) in the DICOM headers. This is what we use to correlate the various scan files into a single DICOM study.


i had him do the following

---
3. add the tag (0010, 4000) to the study

Project: DCMPHANTOM; Subject: PHANTOM003; Session: 1 
---

so adding this tag does not overrider study instance id?

cheers

satra

Herrick, Rick

unread,
May 16, 2012, 2:30:58 PM5/16/12
to xnat_di...@googlegroups.com

No, what XNAT does with that tag is to set the *proposed* session name for the study once it’s pushed into the archive. It does not try to merge studies that are marked as unique based on the study instance ID. So what you’re seeing is XNAT attempting to make sense out of the proposed session names for all of these different sessions that come in.

 

You have two options:

 

·         Just create separate sessions within XNAT.

·         Pre-process the DICOM to modify the study instance IDs so that they all match. That will then make each of the scans part of the same study.

Satrajit Ghosh

unread,
May 16, 2012, 2:36:33 PM5/16/12
to xnat_di...@googlegroups.com
thanks rick,

i've asked him to set a single study instance id and push.

cheers,

satra

Satrajit Ghosh

unread,
May 19, 2012, 10:40:56 AM5/19/12
to xnat_di...@googlegroups.com
hi deech and rick,

one more update - i tried archiving it to a new subject name and got the same error.

cheers,

satra


On Thu, May 17, 2012 at 8:53 PM, Satrajit Ghosh <sa...@mit.edu> wrote:
hi deech,

i deleted everything and brendan re-uploaded the entire study with uniform instance id.  still getting the same error as before. if it helps we can coordinate sometime tomorrow so that i can show you via join.me.

Can you send me the rows in the prearchive that are causing this problem? To get the rows just do:
curl -u <username> http://<hostname>/data/prearchive?format=json

 {
   "ResultSet":{
      "Result":[
         {
            "scan_time":"",
            "status":"READY",
            "subject":"PHANTOM003",
            "tag":"1.2.276.0.7230010.3.1.2.8323329.420.1337202999.953689",
            "uploaded":"2012-05-17 14:45:47.318",
            "lastmod":"2012-05-17 19:39:04.474",
            "scan_date":"",
            "url":"/prearchive/projects/DCMPHANTOM/20120517_144547318/1",
            "timestamp":"20120517_144547318",
            "project":"DCMPHANTOM",
            "autoarchive":"",
            "name":"1",
            "folderName":"1"
         }
      ]
   }
}


And can you also send me the output of your session:
curl -u <username> http://<hostname>/data/projects/<project>/subjects/<subject>/experiments/<session>?format=json

because i deleted PHANTOM003 (but still can't archive)

Enter host password for user 'satra':
<html>
<head>
   <title>Status page</title>
</head>
<body>
<h3>Unable to find the specified subject.</h3><p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>

cheers,

satra
 

Without any further information and if the error message is at all descriptive it looks to me as though it is trying to append to an existing session but changing the subject.

-deech


On Tuesday, May 15, 2012 8:26:36 PM UTC-5, satra wrote:
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xnat_discussion/-/PudqiKtDLCMJ.

Satrajit Ghosh

unread,
May 17, 2012, 8:53:01 PM5/17/12
to xnat_di...@googlegroups.com
Message has been deleted

Satrajit Ghosh

unread,
May 23, 2012, 5:33:39 PM5/23/12
to xnat_di...@googlegroups.com
hi deech and rick,

just checking if you guys have found a solution to the archiving problem.

cheers,

satra
Reply all
Reply to author
Forward
0 new messages