Skip to content

Commit

Permalink
Fix error with logging filepath
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraporta committed Nov 5, 2024
1 parent b7a1f34 commit e11b2e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/example_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ def main(
"""
Draft usage of the pipeline, now consisting of read and write operations.
"""
(output_path / "logs").mkdir(exist_ok=True)
logging.basicConfig(
filename=output_path / "logs" / "pipeline.log",
filename=str(output_path / "logs" / "pipeline.log"),
level=logging.INFO,
format="%(asctime)s - %(message)s",
)
Expand Down
4 changes: 2 additions & 2 deletions examples/example_usage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/bash
python ./examples/example_usage.py \
/Volumes/winstor/swc/margrie/SimonWeiler/RawData/Invivo_imaging/3photon_rotation/shared/ \
/Users/laura/local_data/calcimaut/ \
/nfs/winstor/margrie/SimonWeiler/RawData/Invivo_imaging/3photon_rotation/shared/ \
/ceph/margrie/laura/cimaut/ \
--folder_read_pattern '2*' \

0 comments on commit e11b2e2

Please sign in to comment.