Cannot cast ufunc 'subtract' output from dtype('float64') to dtype('uint32') with casting rule 'same_kind' error in last code block of 4a #288
-
Hello, We are trying to work through 4a with one run of three FOVs of mouse pancreatic islets. We are trying to compensate the FOVS with the commercial matrix. We originally collected Ca and P as well, but removed those channels from our panel and the extracted images as suggested in #249. When trying to run the last code block to compensate our FOVs we get the following error: our panel: Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
@alex-l-kong will you look into this at office hours today. |
Beta Was this translation helpful? Give feedback.
-
Will do.On Nov 16, 2022, at 11:18 AM, Noah F. Greenwald ***@***.***> wrote:
@alex-l-kong will you look into this at office hours today.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@whitneyt1 this looks like a casting issue, which we've had pop up on a particular line that copies the data over. Can you verify the data type of your raw extracted image data? You can do so by running this in a notebook cell:
You should be seeing |
Beta Was this translation helpful? Give feedback.
-
I copied the rosetta.py notebook and changed the line of code to |
Beta Was this translation helpful? Give feedback.
-
@sguldberg @whitneyt1 just opened a new PR (#293) to address the issue you were running into. |
Beta Was this translation helpful? Give feedback.
-
#293 has been tested and merged into main. |
Beta Was this translation helpful? Give feedback.
#293 has been tested and merged into main.