Issue outputting a specified channel with 4a_compensate image data #335
Unanswered
akandrew332
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Okay, So I've figured out that I need to put in the mass of the channel I'm interested in here rather than the channel name. However, now I get the following error: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having trouble getting journal 4a_compensate_image_data to output tiffs of only the channels I want adjusted. This works well using rosetta testing cell (44) by changing output_channel_names=None to output_channel_names='channels of interest'. However, when moving down to cell 114 or Rosetta- Compensate Your Runs, I insert the bolded line with dsDNA as the channel of interest:
rosetta.compensate_image_data(raw_data_dir=os.path.join(extracted_imgs_dir, run),
comp_data_dir=os.path.join(rosetta_image_dir, run),
comp_mat_path=final_rosetta_path, panel_info=panel, output_masses= 'dsDNA', batch_size=1)
I expected the same result, but instead I get a ValueError:
ValueError: Not all values given in list output masses were found in list compensation masses.
Displaying 1 of 1 invalid value(s) for list output masses
1 dsDNA
Image of error attached. I'm probably doing something wrong, or maybe this option isn't available for rosetta.compensate_image_data? Any help would be greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions