Skip to content

Commit

Permalink
changes so all submodules can be run with
Browse files Browse the repository at this point in the history
python [modulefilename] and not only with
python -m [modulefilename]
  • Loading branch information
MichelDaab committed Aug 21, 2024
1 parent ef1aa3e commit f94c7ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lidro/main_create_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@

import logging
import os
import sys

import hydra
from omegaconf import DictConfig
from pyproj import CRS

sys.path.append('../lidro')

from lidro.create_mask_hydro.vectors.convert_to_vector import create_hydro_vector_mask


Expand Down
3 changes: 3 additions & 0 deletions lidro/main_create_virtual_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@

import logging
import os
import sys

import geopandas as gpd
import hydra
import pandas as pd
from omegaconf import DictConfig
from pyproj import CRS

sys.path.append('../lidro')

from lidro.create_virtual_point.vectors.extract_points_around_skeleton import (
extract_points_around_skeleton_points_one_tile,
)
Expand Down
3 changes: 3 additions & 0 deletions lidro/main_merge_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@

import logging
import os
import sys

import hydra
from omegaconf import DictConfig
from pyproj import CRS

sys.path.append('../lidro')

from lidro.merge_mask_hydro.vectors.merge_vector import merge_geom


Expand Down

0 comments on commit f94c7ee

Please sign in to comment.