Skip to content

Commit

Permalink
Get the image collection.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jul 12, 2017
1 parent 8d12128 commit 154fa5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qipipe/pipeline/qipipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,8 @@ def _collect_roi_files(collection, scan_input):
_logger = logger(__name__)
roi_dirs = scan_input.roi
if roi_dirs:
scan_pats = collection.patterns.scan[scan_input.scan]
img_coll = image_collection.with_name(coll_opt)
scan_pats = img_coll.patterns.scan[scan_input.scan]
if not scan_pats:
raise PipelineError("Scan patterns were not found"
" for %s %s scan %d" % (
Expand Down

0 comments on commit 154fa5a

Please sign in to comment.