Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ENH: Print wall time for cellprofiler run
  • Loading branch information
pan14001 committed Mar 23, 2017
1 parent cebf4b3 commit 2a87164
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -11,6 +11,7 @@ CELLPROFILER := cellprofiler
PARALLEL := parallel --eta
PYTHON := python
RSCRIPT := Rscript
TIME := command time --format "Completed in wall clock time [H:M:S]: %E"

# Make rule sources and targets
SOURCES_img_raw := data/April_14_2016.tar.xz
Expand Down Expand Up @@ -92,7 +93,7 @@ $(TARGETS_img_zproj) : $(SOURCES_img_zproj)
.PHONY : cellprofiler
cellprofiler : $(TARGETS_cellprofiler) ## Collect statistics about all images.
$(call singleton,$(TARGETS_cellprofiler)) : $(SOURCES_cellprofiler_headless)
$(PARALLEL) :::: $<
$(TIME) $(PARALLEL) :::: $<

$(TARGETS_cellprofiler_commands) : $(SOURCES_cellprofiler_commands)
$(CELLPROFILER) $(CELLPROFILER_OPTS_HEADLESS) --get-batch-commands=$< | sed 's#^CellProfiler#$(CELLPROFILER)#' | sort -nk 8 > $@
Expand Down

0 comments on commit 2a87164

Please sign in to comment.