om_code.sunder.getsubset
om_code.sunder.getsubset#
- getsubset(inst, type, set='all', includes=False, excludes=False, nonull=False, nomedia=False)[source]#
Returns a subset of either the conditions or strains.
Parameters – inst: instance of platereader type: string
Either ‘c’ (conditions) or ‘s’ (strains).
- set: list of strings
List of items to include (default is ‘all’).
- includes: string
Select only items with this string in their name.
- excludes: string
Ignore any items with this string in their name.
- nonull: boolean
If True, ignore Null strain.
- nomedia: boolean
If True, ignores ‘media’ condition.
- Returns
- sset: list of strings