Karanveer266

Results 5 comments of Karanveer266

We could return a custom dictionary class that warns users when they attempt modifications: ``` class AttributesReadOnlyDict(dict): """Dictionary that warns when modifications are attempted.""" def __init__(self, original_dict, node_reference): super().__init__(copy.deepcopy(original_dict)) self._node...

The root cause is click’s special handling of click.BOOL types during interactive prompts, where it uses click.confirm (expecting y/n) instead of click.prompt (which respects the value_proc callable used by AiiDA...

Hi! according to me this approach expands in only one direction (right or downward), shifting the object's center. This unidirectional expansion shifts the object's center position, which could potentially impact...

The following is my solution for this issue: ``` def expand_bbox_to_square(bbox, image_width, image_height): """ Expand a bounding box to a square by extending the shorter side. Parameters: ----------- bbox :...

Thanks for your response, I have already submitted PR #994 for this issue. Please checkout the PR and let me know if any more changes should me made.