Commit 4e1faefa authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

CHG: updated to the newer folder structure

parent 4359eddc
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -39,7 +39,12 @@ for gtFolder in ../gtReference/*; do
			echo "$gtFolder/$video PROBLEM: NO INTERSECTING TIMEPOINTS BETWEEN GT-SEG AND GT-TRA"
		else
			gtFolderBasename=`basename $gtFolder`
			echo python3 $1 $2 ../fusionOutputs "${gtFolderBasename}-$video" "$timePointsBoth" $gtFolder/${video}_GT `ls -d ../userResults/*/$gtFolderBasename/${video}_RES` > "${gtFolderBasename}-${video}.cmd"

			# wrap the individual folder names with double quotes (to make it over folder names with spaces or other "crazy" characters)
			fixedFiles=`ls -d ../userResults/$gtFolderBasename/fixed/*/${video}_RES | { while read i; do printf "\"%s\" " "$i"; done }`
			  varFiles=`ls -d ../userResults/$gtFolderBasename/*/${video}_RES       | { while read i; do printf "\"%s\" " "$i"; done }`

			echo python3 $1 $2 ../fusionOutputs "${gtFolderBasename}-$video" "$timePointsBoth" $gtFolder/${video}_GT "$fixedFiles" "$varFiles" > "${gtFolderBasename}-${video}.cmd"
		fi
	done
done
+7 −7
Original line number Diff line number Diff line
@@ -10,11 +10,14 @@ gtReference/
  PhC-C2DL-PSC

userResults/
  clean.cmd
  isbi001
  isbi005
  anyInputFolderName
  anyAnotherInputFolderName
  ...
  isbi926
  anyYetAnotherInputFolderName
  fixed/anyInputFolderName
  fixed/anyAnotherInputFolderName
  fixed/...
  fixed/anyYetAnotherInputFolderName

binariesAndScripts/
  createScripts.cmd
@@ -26,6 +29,3 @@ Start with:

cd binariesAndScripts
. createScripts.cmd pathTo_processGivenVideo.py pathToFijiBinary

. someOfTheCreatedScripts
...