Skip to content

Commit

Permalink
Merge pull request #189 from kartverket/new_main_and_examples
Browse files Browse the repository at this point in the history
New main and examples
  • Loading branch information
maribhe authored Aug 7, 2024
2 parents 7e8bb80 + 21a548c commit e15f5bd
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
36 changes: 35 additions & 1 deletion file_manager/n100/file_manager_roads.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,42 @@
data_preparation = "data_preparation"


class RoadN100(Enum):
""""
# gdb
data_selection___example___n100_road = file_manager.generate_file_name_gdb(
script_source_name=data_selection,
description="example",
)
# csv
data_selection___example_csv___n100_road = (
file_manager.generate_file_name_general_files(
script_source_name="data_selection",
description="example_csv",
file_type="csv",
)
)
# lyrx
data_selection___example_lyrx___n100_road_lyrx = (
file_manager.generate_file_name_lyrx(
script_source_name="data_selection",
description="example_lyrx___n100_road",
)
)
# final output
Road = file_manager.generate_final_outputs(
file_name="Road",
)
# lyrx directory
data_selection___lyrx_root___n100_road= (
file_manager.generate_file_lyrx_directory(
script_source_name=data_selection, description="lyrx_root"
)
)
"""


class RoadN100(Enum):
pass
16 changes: 16 additions & 0 deletions generalization/n100/road/road_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Importing modules
from env_setup import environment_setup
from custom_tools.decorators.timing_decorator import timing_decorator


# Importing road scripts


# Main function that runs all the road scripts
@timing_decorator
def main():
pass


if __name__ == "__main__":
main()

0 comments on commit e15f5bd

Please sign in to comment.