spacetx / starfish

starfish: unified pipelines for image-based transcriptomics
https://spacetx-starfish.readthedocs.io/en/latest/
MIT License
221 stars 67 forks source link

change Codebook data default dtype to float #1975

Open berl opened 2 years ago

berl commented 2 years ago

the intended specification for the codebook included non-integer values, but the current implementation uses integers when creating the Codebook object from a .json file. Non-integer values already work as desired when a codebook is created using the Codebook.from_dict method, so this PR should allow those values to be read in from a file.