Populate_Metadata script in 5.3.3
Posted: Thu Sep 14, 2017 12:29 am
Hi team,
I was trying the Populate_Metadata.py script on a 384 well plate with a csv file that starts:
The errors I get say:
On another plate using the exact same csv annotation file, it doesn't give errors but nothing appears in the Tables tab for the wells or images in each well. For both plates, a bulk_annotations attachment does get created.
I believe this all worked fine under 5.2.8 and I recently upgraded both my production servers to 5.3.3 (and will upgrade to 5.3.4 shortly). Am I doing something wrong or is something different between 5.2.x and the 5.3.3?
Thanks,
- Damir
I was trying the Populate_Metadata.py script on a 384 well plate with a csv file that starts:
- Code: Select all
Well,Compound,Concentration
A01,Media,0
A02,Media,0
A03,Media,0
A04,Media,0
A05,Media,0
A06,Media,0
A07,Media,0
A08,Media,0
A09,Media,0
A10,Media,0
A11,Media,0
A12,Media,0
A13,Media,0
A14,Media,0
A15,Media,0
A16,Media,0
A17,Media,0
A18,Media,0
A19,Media,0
A20,Media,0
A21,Media,0
A22,Media,0
A23,Media,0
A24,Media,0
B01,Media,0
B02,leucovorin,20000
B03,Panotinib,137.17
B04,Panotinib,45.72
B05,Pertuzumab+Herceptin,1.23
B06,Oxalipatin,740.74
B07,Lenvatinib,1234.57
etc....
The errors I get say:
- Code: Select all
WARNING:omero.util.populate_metadata:Skipping table row 0! Missing well row or column for well name population!
Traceback (most recent call last):
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 912, in post_process
v = self.value_resolver.get_well_name(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 312, in get_well_name
well = self.wrapper.get_well_by_id(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 578, in get_well_by_id
return wells[well_id]
KeyError: -1L
WARNING:omero.util.populate_metadata:Skipping table row 1! Missing well row or column for well name population!
Traceback (most recent call last):
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 912, in post_process
v = self.value_resolver.get_well_name(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 312, in get_well_name
well = self.wrapper.get_well_by_id(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 578, in get_well_by_id
return wells[well_id]
KeyError: -1L
WARNING:omero.util.populate_metadata:Skipping table row 2! Missing well row or column for well name population!
Traceback (most recent call last):
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 912, in post_process
v = self.value_resolver.get_well_name(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 312, in get_well_name
well = self.wrapper.get_well_by_id(well_id, plate)
File "/usr/local/OMERO/OMERO.server/lib/python/omero/util/populate_metadata.py", line 578, in get_well_by_id
return wells[well_id]
KeyError: -1L
etc....
On another plate using the exact same csv annotation file, it doesn't give errors but nothing appears in the Tables tab for the wells or images in each well. For both plates, a bulk_annotations attachment does get created.
I believe this all worked fine under 5.2.8 and I recently upgraded both my production servers to 5.3.3 (and will upgrade to 5.3.4 shortly). Am I doing something wrong or is something different between 5.2.x and the 5.3.3?
Thanks,
- Damir