Open nathanbollig opened 2 years ago
An assumption is being made at lines 222 and 224 of model.py
that the first character of the well name will uniquely identify rows, and the remaining characters will uniquely identify columns.
If well names are not named according to this assumption, then we should validate that the total number of wells is rows*cols as specified in the plate template. There needs to be some kind of control input to determine if the ordering of wells in the file is row-wise (row 1, then row 2, etc.) or column-wise. This is referred to as "Option 2" in #123.
app_server.py
>get_viz_data()
: The dimensions of the grid shown in View Assay (with all wells selected) appears to come from therows
andcols
returned bywcModel.get_assay_viz_dataGrid(assay_id)
. Note these are packaged into a json object retrieved at the front end via a .getJSON call.get_assay_viz_dataGrid()
parses the well names into variables likeThis logic depends on the well names and therefore is less general than the two-option handling of well names proposed for Upload Assay in #123.