Skip to content

Commit 21b16d7

Browse files
committed
move log output
1 parent 3c98c4a commit 21b16d7

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

0.preprocess-sites/0.prefilter-features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from io_utils import check_if_write
2727

2828
# Configure logging
29-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
29+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
3030
if not os.path.isdir(logfolder):
3131
os.mkdir(logfolder)
3232
logging.basicConfig(

0.preprocess-sites/1.process-spots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
from io_utils import check_if_write, read_csvs_with_chunksize
6060

6161
# Configure logging
62-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
62+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
6363
if not os.path.isdir(logfolder):
6464
os.mkdir(logfolder)
6565
logging.basicConfig(

0.preprocess-sites/2.process-cells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from io_utils import check_if_write, read_csvs_with_chunksize
3636

3737
# Configure logging
38-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
38+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
3939
if not os.path.isdir(logfolder):
4040
os.mkdir(logfolder)
4141
logging.basicConfig(

0.preprocess-sites/3.visualize-cell-summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from io_utils import check_if_write, read_csvs_with_chunksize
2020

2121
# Configure logging
22-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
22+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2323
if not os.path.isdir(logfolder):
2424
os.mkdir(logfolder)
2525
logging.basicConfig(

0.preprocess-sites/4.image-and-segmentation-qc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from io_utils import check_if_write, read_csvs_with_chunksize
1717

1818
# Configure logging
19-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
19+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2020
if not os.path.isdir(logfolder):
2121
os.mkdir(logfolder)
2222
logging.basicConfig(

1.generate-profiles/0.merge-single-cells.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from io_utils import read_csvs_with_chunksize
2424

2525
# Configure logging
26-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
26+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2727
if not os.path.isdir(logfolder):
2828
os.mkdir(logfolder)
2929
logging.basicConfig(

1.generate-profiles/1.aggregate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from io_utils import read_csvs_with_chunksize
1919

2020
# Configure logging
21-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
21+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2222
if not os.path.isdir(logfolder):
2323
os.mkdir(logfolder)
2424
logging.basicConfig(

1.generate-profiles/2.normalize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from io_utils import read_csvs_with_chunksize
1818

1919
# Configure logging
20-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
20+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2121
if not os.path.isdir(logfolder):
2222
os.mkdir(logfolder)
2323
logging.basicConfig(

1.generate-profiles/3.feature-select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from io_utils import read_csvs_with_chunksize
1818

1919
# Configure logging
20-
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
20+
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
2121
if not os.path.isdir(logfolder):
2222
os.mkdir(logfolder)
2323
logging.basicConfig(

0 commit comments

Comments
 (0)