Skip to content

Commit

Permalink
Moved notebooks to folder and updated config paths
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscyyeung committed Dec 3, 2024
1 parent 01dea04 commit 02f460e
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UltrasoundSegmentation/extract_scanlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main(args):
# Read config file

if args.scanconvert_config is None:
args.scanconvert_config = os.path.join(os.path.abspath(os.path.dirname(__file__)), "scanconvert_config.yaml")
args.scanconvert_config = os.path.join(os.path.abspath(os.path.dirname(__file__)), "configs", "scanconvert_config.yaml")

with open(args.scanconvert_config, "r") as f:
scanconvert_config = yaml.safe_load(f)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion UltrasoundSegmentation/prepare_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# Read config file

if args.config_file is None:
args.config_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "prepare_data_config.yaml")
args.config_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "configs", "prepare_data_config.yaml")

logging.info(f"Reading configuration from {args.config_file}")

Expand Down

0 comments on commit 02f460e

Please sign in to comment.