We're Hiring!

short-cut to import images

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Re: short-cut to import images

Postby ihs7 » Fri Jun 08, 2012 3:09 pm

cblackburn wrote:Hi,

Once the files are imported using DropBox you can use Insight or the WebClient to copy single or multiple orphaned images into Datasets. There are some movies explaining how to organise and manage your data at:

https://www.openmicroscopy.org/site/products/feature-list#organise

Cheers,

Colin


Is there a chance that this can be automated somehow? I researched OMERO.dropbox slightly when preparing for my project which handles large datasets, but could not find any configuration files for the functionality.

In short, is it possible to automatically create datasets and link images to them by using DropBox with given information (ex. from logs, configuration files)?

Shorter, can DropBox functionality be modified?

Cheers,
Ivar
ihs7
 
Posts: 8
Joined: Wed May 30, 2012 12:56 pm

Re: short-cut to import images

Postby jmoore » Fri Jun 08, 2012 6:41 pm

Hi Ivar.

DropBox currently doesn't have that functionality, but if you're asking if you can extend it, definitely! The method you need to override is importFile in MonitorClientI. There are other MonitorClientI subclasses you can look at for examples. For the moment, you'll then need to either hard-code your client subclass in fsDropBox.py, though this could be made more extensible/configurable. Alternatively, you could copy all of fsDropBox.py and make your own service, which you'd need to configure in etc/grid/default.xml

And if you have any questions, just ask.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: short-cut to import images

Postby cblackburn » Mon Jun 11, 2012 7:52 am

Hi Ivar,

I've pushed a branch to github,

https://github.com/ximenesuk/openmicroscopy/commits/dropbox_dataset

which contains a modification to MonitorClientI that does a limited import to Dataset. It uses the first two directories following the username in the DropBox path, if they both exist, as a Project/Dataset pair, creating the Project and Dataset if necessary. This has not been robustly tested and doesn't cater for all use cases. However, it should give you some ideas on extending this class for yourself.

If you do pull this branch you'll need to keep origin/develop merged into it. If this is the sort of modification you are looking to make then any feedback would be very helpful. If you were thinking along different lines then let us know and we may be able to offer you further pointers.

Cheers,

Colin
cblackburn
 
Posts: 85
Joined: Mon May 25, 2009 9:03 pm

Re: short-cut to import images

Postby ihs7 » Mon Jun 11, 2012 10:29 am

Thanks alot Colin, I will be looking into this.

Cheers,
Ivar
ihs7
 
Posts: 8
Joined: Wed May 30, 2012 12:56 pm

Previous

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest