[ome-users] Gateway do not list all datasets

Mario Valle mvalle at cscs.ch
Tue Apr 21 16:59:18 BST 2009


I have just created a project containing two datasets.
They appear correctly from insight and webclient.
Instead from my C++ client (posted again today) only the first one is extracted in 4.0.1
Instead I had no problem with 4.0.

     // Set the project id
     omero::api::LongList pids;
     pids.push_back(omero::rtypes::rlong(project_id);

     // Access the datasets for this project
     omero::api::DatasetList dset = gateway->getDatasets(pids, true); // same with false

     // List the datasets
     omero::api::DatasetList::iterator id;
     for(id=dset.begin(); id != dset.end(); ++id)
     {
         cout << "Name:   " << (*id)->getName()->getValue() << endl;
     }

I don't see anything obviously wrong in this piece of code.
Any insight?
Ciao!
	mario


-- 
Ing. Mario Valle
Data Analysis and Visualization Group            | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82



More information about the ome-users mailing list