Skip to content

Commit

Permalink
improved lazy import
Browse files Browse the repository at this point in the history
  • Loading branch information
lucadelu committed Jan 5, 2024
1 parent 82cd449 commit cea2886
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/temporal/t.rast.climatologies/t.rast.climatologies.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@


def main():
import grass.pygrass.modules as pymod
import grass.script as gscript
import grass.temporal as tgis
options, flags = gscript.parser()
strds = options["input"]
output = options["output"]
Expand Down Expand Up @@ -237,8 +240,4 @@ def main():


if __name__ == "__main__":
import grass.pygrass.modules as pymod
import grass.script as gscript
import grass.temporal as tgis

main()

0 comments on commit cea2886

Please sign in to comment.