Open gwaybio opened 3 years ago
@gwaybio
Can you clarify what you mean by if the method is not used properly
? This will help make clear how a user should use this class and we can add documentation.
Can you clarify what you mean by if the method is not used properly?
The user must specify which compartments are present in the SingleCells(compartments=?)
class attribute
If the user is using non-canonical compartments and they fail to specify them, pycytominer will not know to include them.
In #111 - I add a method in the
cells.py
class to merge tables using predefined "linking" columns.If there are more than the default compartments in the provided input file (e.g. single cell SQLite), then the
merge_single_cells()
method will silently ignore the additional compartments if the method is not used properly.We should throw a warning if there is a missing table not used.