Skip to content

fix logging bug in ROI

            data_confident = deepcopy(dat)
            logger.info(
                "Total number of called spots for {}: {}".format(
                    target, data_confident.shape
                )
            )
            logger.info(
                "Total number of spots for {} that would be chucked out because within-spot signal too weak (compared to GLOBAL background): {}".format(
                    target,
                    data_confident.shape[0]
                    - data_confident[data_confident["withinSpotvsOutsideGlobal"] > 3].shape[
                        0
                    ],
                )
            )
            logger.info(
                "Total number of spots for {} that would be chucked out because within-spot signal too weak (compared to LOCAL background): {}".format(
                    target,
                    data_confident.shape[0]
                    - data_confident[data_confident["withinSpotvsOutsideLocal"] > 3].shape[
                        0
                    ],
                )
            )
            logger.info(
                "Total number of spots for {} that would be chucked out because within-spot signal too weak (compared to next-strongent channel): {}".format(
                    target,
                    data_confident.shape[0]
                    - data_confident[
                        data_confident["withinSpotMaxChannelVsNextMaxChannel"] > 2
                    ].shape[0],
                )
            )

ABove is code from ROI.py, where the threshold numbers are hardcoded instead of using the thresholds from the params.yaml file

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information