Commit c2348e93 authored by Karl Kornel's avatar Karl Kornel
Browse files

Fix another use of lock_get and log_open

parent 03c44b0e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -413,12 +413,12 @@ EOL
	$LOCKPATH = "$RUNFOLDER/workflow-lock.txt";

	# Get a lock on our run folder
	# (Same as with the `run` action)
	lock_get() or exit(1);
	$LOCKHANDLE = lock_get($LOCKPATH, $LOGPATH);
	exit(1) unless $LOCKHANDLE;

	# Start logging to file
	# (Same as with the `run` action)
	log_open() or exit(1);
	$LOGHANDLE = log_open($LOGPATH, \$LOG);
	exit(1) unless $LOGHANDLE;

	# Search for Project_ directories
	my $basecalls_path = "$RUNFOLDER/Data/Intensities/BaseCalls";