-
-
Notifications
You must be signed in to change notification settings - Fork 362
grass.pygrass: Use unique tmp mapset names GridModule #1967
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
Merged
wenzeslaus
merged 6 commits into
OSGeo:main
from
wenzeslaus:grid-module-better-tmp-mapset-name
Mar 2, 2022
Merged
grass.pygrass: Use unique tmp mapset names GridModule #1967
wenzeslaus
merged 6 commits into
OSGeo:main
from
wenzeslaus:grid-module-better-tmp-mapset-name
Mar 2, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70c36fc
to
04f2274
Compare
- Base the temporary mapset name on process ID and node name instead of just module name. - Use more robust legalize_vector_name function instead of just removing dots. - Allow for undescores in user-provided mapset name prefix (and in processed module name) by using stored prefix to delete temporary mapsets. - This by allows multiple GridModules to run on one machine (including HPC) from different processes without the need to specify unique mapset prefix. - The previous code required no underscore in the mapset name, but the documentation did not state that. This removes the requirement and avoid possible removal of mapsets with similar name. - Documentation now comments on how unique the temporary name is and states when a custom prefix needs to be supplied (multiple GridModules from one process).
04f2274
to
f5bbb2c
Compare
petrasovaa
approved these changes
Mar 2, 2022
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Oct 26, 2022
- Base the temporary mapset name on process ID and node name instead of just module name. - Use more robust legalize_vector_name function instead of just removing dots. - Allow for underscores in user-provided mapset name prefix (and in processed module name) by using stored prefix to delete temporary mapsets. - This by allows multiple GridModules to run on one machine (including HPC) from different processes without the need to specify unique mapset prefix. - The previous code required no underscore in the mapset name, but the documentation did not state that. This removes the requirement and avoid possible removal of mapsets with similar name. - Documentation now comments on how unique the temporary name is and states when a custom prefix needs to be supplied (multiple GridModules from one process). - Adds basic tests for GridModule (developed with the original version). - Adds LD_LIBRARY_PATH setting for pytest (and removes broken LD_LIBRARY_PATH setting there). - Fixes Pylint check done by pytest so that no actual tests are executed.
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Feb 17, 2023
- Base the temporary mapset name on process ID and node name instead of just module name. - Use more robust legalize_vector_name function instead of just removing dots. - Allow for underscores in user-provided mapset name prefix (and in processed module name) by using stored prefix to delete temporary mapsets. - This by allows multiple GridModules to run on one machine (including HPC) from different processes without the need to specify unique mapset prefix. - The previous code required no underscore in the mapset name, but the documentation did not state that. This removes the requirement and avoid possible removal of mapsets with similar name. - Documentation now comments on how unique the temporary name is and states when a custom prefix needs to be supplied (multiple GridModules from one process). - Adds basic tests for GridModule (developed with the original version). - Adds LD_LIBRARY_PATH setting for pytest (and removes broken LD_LIBRARY_PATH setting there). - Fixes Pylint check done by pytest so that no actual tests are executed.
neteler
pushed a commit
to nilason/grass
that referenced
this pull request
Nov 7, 2023
- Base the temporary mapset name on process ID and node name instead of just module name. - Use more robust legalize_vector_name function instead of just removing dots. - Allow for underscores in user-provided mapset name prefix (and in processed module name) by using stored prefix to delete temporary mapsets. - This by allows multiple GridModules to run on one machine (including HPC) from different processes without the need to specify unique mapset prefix. - The previous code required no underscore in the mapset name, but the documentation did not state that. This removes the requirement and avoid possible removal of mapsets with similar name. - Documentation now comments on how unique the temporary name is and states when a custom prefix needs to be supplied (multiple GridModules from one process). - Adds basic tests for GridModule (developed with the original version). - Adds LD_LIBRARY_PATH setting for pytest (and removes broken LD_LIBRARY_PATH setting there). - Fixes Pylint check done by pytest so that no actual tests are executed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.