Skip to content

Commit

Permalink
Set the logger temp var.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jun 15, 2017
1 parent 1ae5e22 commit 01800aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qipipe/pipeline/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,9 @@ def upload(project, subject, session, scan, in_dir):

# The DICOM files to upload.
dcm_files = glob.iglob("%s/volume*/*.dcm.gz" % in_dir)
_logger = logger(__name__)
# Upload the compressed DICOM files in one action.
logger(__name__).debug(
_logger.debug(
"Uploading the %s %s scan %d staged DICOM files to XNAT..." %
(subject, session, scan)
)
Expand Down

0 comments on commit 01800aa

Please sign in to comment.