Open gwaybio opened 3 years ago
I don't get any error, but maybe this info helps in debug:
For my testing I haven't been importing the config but instead just setting the few variables actually needed for this section. What I set is:
cell_count_file = '/Users/eweisbar/Desktop/XX/cell_count.tsv'
input_image_file = '/Users/eweisbar/Desktop/XX/image_metadata.tsv'
sites_per_image_grid_side = 10
cell_filter = ["Perfect", "Great"]
cell_category_order = ["Bad","Empty","Great","Imperfect","Perfect"]
image_cols = {'well': "Metadata_Well", 'site': "Metadata_Site", 'plate': "Metadata_Plate"}
barcoding_cycles=9
barcoding_prefix='CorrCycle'
painting_image_names = [1,2,3,4,5] #only used for length here since I pull actual names from column lists now
output_figuresdir = '/Users/eweisbar/Desktop/XX/'
output_resultsdir = '/Users/eweisbar/Desktop/XX/'
Going into the if statement at 465 I have:
cp_sat_df_cols = ['Metadata_Well',
'Metadata_Site',
'Metadata_Plate',
'ImageQuality_PercentMaximal_CorrDNA',
'ImageQuality_PercentMaximal_CorrER',
'ImageQuality_PercentMaximal_CorrMito',
'ImageQuality_PercentMaximal_CorrPhalloidin',
'ImageQuality_PercentMaximal_CorrWGA',
'ImageQuality_StdIntensity_CorrDNA',
'ImageQuality_StdIntensity_CorrER',
'ImageQuality_StdIntensity_CorrMito',
'ImageQuality_StdIntensity_CorrPhalloidin',
'ImageQuality_StdIntensity_CorrWGA']
cp_sat_df looks like this after line 468:
weird, I wonder what's going on. I am not going to have time to dig into this until after our meeting Friday.
Also, I just now realized that I only have one QC plate figure whereas I probably should have one per plate. Is that true? If so, can you open a new issue to track that? (I don't want to get this issue confused with a separate one!)
@ErinWeisbart - I am trying to rerun this step in the recent pooled dataset. It was working smoothly until line 471. I paste the error statement at the end of this issue (file paths intentionally obscured).
If you look at the "blame" line 471 is my doing. However, in #72 you modified how
cp_sat_df
is constructed - which likely changed how it should be processed downstream. ("blame" is a bad technical term.... but it is at least descriptive!)Do you know what's going on? maybe this is an easy fix 🤷