Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove layer from layergroup #106

Merged

Conversation

Kilometerfresserin
Copy link
Contributor

What is the feature?

  • new method remove_layer_from_layergroup: works analogously to add_layer_to_layergroup and can be used to remove a single layer from an existing layergroup
  • refactoring of add_layer_to_layergroup to avoid code duplication between add_layer_to_layergroup and remove_layer_from_layergroup (separate method for xml construction is shared between the two methods)

How to test?

I've added some new unittests for the new method to the existing unittest class; they can be run by executing
python -m unittest tests.test_layergroup

Closes #105

@iamtekson
Copy link
Collaborator

I will review it soon! give me this week. Thanks.

Copy link
Collaborator

@iamtekson iamtekson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for this PR.

@iamtekson iamtekson merged commit fbc234f into gicait:master Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enhancement: remove_layer_from_layegroup method
2 participants