d494134863f2adfb00716b027e489551cc2253d3,app/grandchallenge/cases/image_builders/tiff.py,,_create_dzi_images,#,271

Before Change


            str(gc_file.path.absolute()), access="sequential"
        )
        if not gc_file.voxel_width_mm:
            gc_file.voxel_width_mm = (
                float(image.get("openslide.mpp-x")) / 1000,
            )
            gc_file.voxel_height_mm = (
                float(image.get("openslide.mpp-y")) / 1000,
            )

After Change


            image, dzi_output, tile_size=settings.DZI_TILE_SIZE
        )
    except Exception as e:
        raise ValidationError(f"Image can"t be converted to dzi: {e}")

    return dzi_output
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: comic/grand-challenge.org
Commit Name: d494134863f2adfb00716b027e489551cc2253d3
Time: 2020-04-30
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/tiff.py
Class Name:
Method Name: _create_dzi_images


Project Name: AlexsLemonade/refinebio
Commit Name: bf4d4be450616eeb0252b276c9febc4a50e83ace
Time: 2020-07-06
Author: willvauclain.dev@gmail.com
File Name: api/data_refinery_api/views/dataset.py
Class Name:
Method Name: validate_dataset


Project Name: comic/grand-challenge.org
Commit Name: 04c9fc8971508cccc526718fefdf4fde99580356
Time: 2020-09-18
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/publications/forms.py
Class Name: PublicationForm
Method Name: clean