You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create table of file-names with columns for plate, well, time-point,
field, L, action, Z and channel.
:param files: image file list
:param plate_name: Name of the plate
:return: table
"""
plate= []
well= []
timepoint= []
field= []
lines= []
action= []
z= []
channel= []
path= []
forfileinfiles:
p, w, t, f, line, a, z_, c=parse_filename(file, plate_name)
plate.append(p)
well.append(w)
timepoint.append(t)
field.append(f)
lines.append(line)
action.append(a)
z.append(z_)
channel.append(c)
path.append(file)
returnpd.DataFrame(
{
"plate": plate,
"well": well,
"timepoint": timepoint,
"field": field,
"line": lines,
"action": action,
"z": z,
"channel": channel,
"path": path,
}
)
We should try to consolidate those two code bases (and maybe even use the metadata model from https://github.com/tlambert03/ome-types to standardize the way we handle metadata, see #198):
factor out into common public utility methods (e.g. in faim_ipa.hcs.cellvoyager.utils)
use those public methods from within the StackAcquisition class
The text was updated successfully, but these errors were encountered:
Currently, we have:
For metadata
hcs
faim-ipa/src/faim_ipa/hcs/cellvoyager/acquisition.py
Lines 238 to 277 in b65f215
and
faim-ipa/src/faim_ipa/hcs/cellvoyager/acquisition.py
Lines 189 to 211 in b65f215
eicm
faim-ipa/src/faim_ipa/eicm/preprocessing/cellvoyager.py
Lines 13 to 61 in b65f215
For acquisition files
hcs
faim-ipa/src/faim_ipa/hcs/cellvoyager/acquisition.py
Lines 279 to 305 in b65f215
eicm
faim-ipa/src/faim_ipa/eicm/preprocessing/cellvoyager.py
Lines 86 to 128 in b65f215
We should try to consolidate those two code bases (and maybe even use the metadata model from https://github.com/tlambert03/ome-types to standardize the way we handle metadata, see #198):
faim_ipa.hcs.cellvoyager.utils
)StackAcquisition
classThe text was updated successfully, but these errors were encountered: