[ome-devel] CLI import: create project and dataset
Yanling Liu
vrnova at gmail.com
Thu May 29 20:18:06 BST 2014
Hello Sebastien,
Thanks for your message. I have performed OMERO upgrade to 5.0.2. The
bin/omero obj command worked as described. Great!
I can see the obj command has the option to create projects for other users
with --sudo flag. Does the flag apply to bin/omero import too? In other
words, can I import data as administrator for other users without typing
each user's password using bin/omero import?
I have tried to do following command but failed, of course dataset #51 does
not belong to the root user.
bin/omero import -d 'Dataset:51' -s localhost -u root /path_to_file
Thanks,
On Thu, May 29, 2014 at 11:06 AM, Sebastien Besson <s.besson at dundee.ac.uk>
wrote:
> Hi Yanling,
>
> as part of the last 5.0.2 release of OMERO, the CLI now supports a new
> `obj` command [1].
> This command allows the creation of containers amongst other things. As an
> example, the
> creation of projects and datasets should now be achievable via
>
> $ bin/omero obj new Project name=project
> $ bin/omero obj new Dataset name=dataset
>
> As an aside, we have started working on a script to setup our training
> material which combines
> `bin/omero obj` and `bin/omero import` and may be informative:
> https://github.com/openmicroscopy/openmicroscopy/pull/2561/files
> Note our next step is the extension of the CLI documentation [2] to add
> some description on this
> command and its usage.
>
> Best,
> Sebastien
>
> [1] https://github.com/openmicroscopy/openmicroscopy/pull/2409 <http://www.openmicroscopy.org/site/support/omero5/sysadmins/server-webstart-codesigning.html>
>
> [2] http://www.openmicroscopy.org/site/support/omero5/users/command-line-interface.html
>
>
>
> On 29 May 2014, at 15:50, Yanling Liu <vrnova at gmail.com> wrote:
>
> Hello,
>
> Is it possible to create new project and dataset in CLI import?
>
> For example, it would be great if I can use following command to import a
> set of images to a user while creating new project and dataset on the fly.
>
> bin/omero -s localhost -u user import path_to_file -project
> project_name_or_id -dataset dataset_name_or_id
>
> The reason I am asking is because we have 10TB existing images to be
> imported into OMERO. Create new project and dataset and import images into
> them would save us a lot of time.
>
> Thanks,
> Yanling
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>
>
>
>
> Dr Sébastien Besson
> Open Microscopy Environment / Harvard Medical School
> Wellcome Trust Centre for Gene Regulation and Expression,
> College of Life Sciences, University of Dundee, Dow Street,
> Dundee DD1 5EH Scotland UK Tel: (01382) 386364
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20140529/55d96b3e/attachment.html>
More information about the ome-devel
mailing list