lldelisle / omeroDubouleUploadAnnotate

Shiny app to upload and annotate data on OMERO
GNU General Public License v3.0
0 stars 0 forks source link

Bug: the upload file is attached to wrong Dataset #5

Closed lldelisle closed 2 years ago

lldelisle commented 2 years ago
$ omero search --field name --ids-only Dataset 202111_BRBSeq_BatchI_Rep1_2
 # | Col1          
---+---------------
 0 | DatasetI:1006 
 1 | DatasetI:663  
 2 | DatasetI:462  
 3 | DatasetI:736  
 4 | DatasetI:737  
 5 | DatasetI:735  
(6 rows)

While:

for dataset in conn.getObjects("Dataset", attributes={'name': dataset_name}):
    print(dataset.getId())
    print(dataset.getName())

Gives only one...

lldelisle commented 2 years ago

Fixed