[Midas] Midas upload and moving capabilities

Patrick Reynolds patrick.reynolds at kitware.com
Fri Aug 10 09:16:20 EDT 2012


Brian,

You always have great observations on what to improve. Responses inline... 

Thanks,
Patrick Reynolds
Technical Leader
Kitware, Inc.
919 869 8848


On Thursday, August 9, 2012 at 2:39 PM, Chapman, Brian wrote:

> Hello Midas People, 
> 
> I just had a few quick questions regarding data upload and moving files within Midas. 
> 
> First, the large file upload Java application seems to not let you select directories to upload only files. Am I correct  in this? If I am this is a serious limitation for selecting and uploading a large number of DICOM studies that have been sorted by patient, exam, series, etc.

This is indeed a limitation of the Java uploader. I agree that it would be a worthwhile feature to add. I've added it to our Mantis here:

http://public.kitware.com/MidasBT/view.php?id=772
> 
> Second, when using pydas to upload a large number of studies I seem to frequently get logged out of Midas while the upload in still incomplete resulting in an upload failure. Is there a way to secure the connection for the duration of the upload?
This is an inconvenient bug in pydas that we haven't gotten around to fixing as of yet. A workaround would be to create a new API key for you user on the Api tab of your user profile. Here's how:

1) Log in.
2) Hover over your name in the upper right and select "My Account"
3) Select the Api tab.
4) Generate a new API key with a longer default expiration time.
6) Authenticate with pydas using the new API key.
> 
> Third, when using pydas.upload with leaf_folders_as_items=True the top level folder seems to be treated as the item not lower level folders. For example, if I upload a an exam that has the following folder directory structure 
> 
> Patient Folder 
>     Exam1 Folder
>         Series 1 Folder
>         Series 2 Folder
>     Exam2 Folder
>         Series 1 Folder
>         Series 2 Folder
>         Series 3 Folder
> it is the Patient Folder that is treated as an item whereas I would expect the individual series folders to be the items.
> 
> 

This is definitely a bug. Could you send the script and hierarchy for testing. Also, for completeness, could you ensure that you are running on the latest version of pydas? 
> 
> Fourth, how close is Midas to facilitating selecting and moving multiple items through the web interface. Right now you can only select a single folder (file or directory) at a time.
This bug is being worked on by a core developer right now. :) 
> 
> Brian 
> 
> Brian E. Chapman, PhD 
> Associate Professor
> Division of Biomedical Informatics
> University of California, San Diego
> 
> 
> 
> 
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com (mailto:Midas at public.kitware.com)
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120810/0355413f/attachment.html>


More information about the Midas mailing list