From e276916ce3d3d6a6706b82393d02b86304f0c25f Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Thu, 2 Nov 2023 14:21:20 +0100 Subject: [PATCH] Change to default data directory --- conf/defaults.py | 2 +- conf/testing.py | 8 ++++---- extensions/ilastik/conf.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/defaults.py b/conf/defaults.py index 5d22087c..55b114f2 100644 --- a/conf/defaults.py +++ b/conf/defaults.py @@ -1,6 +1,6 @@ from pathlib import Path -root = Path.home() / 'model-server' / 'sessions' +root = Path.home() / 'model_server' / 'sessions' subdirectories = { 'logs': 'logs', diff --git a/conf/testing.py b/conf/testing.py index 1c2b0cf3..33cc0859 100644 --- a/conf/testing.py +++ b/conf/testing.py @@ -1,6 +1,6 @@ from pathlib import Path -root = Path.home() / 'model-server' / 'testing' +root = Path.home() / 'model_server' / 'testing' filename = 'D3-selection-01.czi' czifile = { @@ -54,9 +54,9 @@ monozstackmask = { } ilastik_classifiers = { - 'px': 'demo_px.ilp', - 'pxmap_to_obj': 'demo_obj.ilp', - 'seg_to_obj': 'new_auto_obj.ilp', + 'px': root / 'ilastik' / 'demo_px.ilp', + 'pxmap_to_obj': root / 'ilastik' / 'demo_obj.ilp', + 'seg_to_obj': root / 'ilastik' / 'new_auto_obj.ilp', } output_path = root / 'testing_output' diff --git a/extensions/ilastik/conf.py b/extensions/ilastik/conf.py index de14a50c..835e8a80 100644 --- a/extensions/ilastik/conf.py +++ b/extensions/ilastik/conf.py @@ -1,5 +1,5 @@ from pathlib import Path paths = { - 'project_files': Path.home() / 'model-server' / 'ilastik' + 'project_files': Path.home() / 'model_server' / 'ilastik' } \ No newline at end of file -- GitLab