Skip to content

Commit

Permalink
move log output
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinWeisbart committed Dec 7, 2021
1 parent 3c98c4a commit 21b16d7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 0.preprocess-sites/0.prefilter-features.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from io_utils import check_if_write

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 0.preprocess-sites/1.process-spots.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
from io_utils import check_if_write, read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 0.preprocess-sites/2.process-cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from io_utils import check_if_write, read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 0.preprocess-sites/3.visualize-cell-summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from io_utils import check_if_write, read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 0.preprocess-sites/4.image-and-segmentation-qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from io_utils import check_if_write, read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 1.generate-profiles/0.merge-single-cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from io_utils import read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 1.generate-profiles/1.aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from io_utils import read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 1.generate-profiles/2.normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from io_utils import read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down
2 changes: 1 addition & 1 deletion 1.generate-profiles/3.feature-select.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from io_utils import read_csvs_with_chunksize

# Configure logging
logfolder = os.path.join(os.path.dirname(os.path.abspath(__file__)), "logs")
logfolder = os.path.join(os.path.dirname(recipe_path), "logs")
if not os.path.isdir(logfolder):
os.mkdir(logfolder)
logging.basicConfig(
Expand Down

0 comments on commit 21b16d7

Please sign in to comment.