Ejemplo n.º 1
0
		if haveGFP == 1:
			FILE_GFP = a020_CopyFiles.main( GLOBAL_DATASET_PATH, LOCAL_DATASET_PATH_DATA, '*GFPdsu.' )
		if haveDAP == 1:
			FILE_DAP = a020_CopyFiles.main( GLOBAL_DATASET_PATH, LOCAL_DATASET_PATH_DATA, '*DAPIdsu.' )
		elapsed_1 = (time.clock() - start_1)
		print "\t\tTime_1: "+str(elapsed_1)

	if runCopy_db == 1:
		start_2 = time.clock()
		runCopy_db_log = LOCAL_DATASET_PATH_LOG +'/runCopyProjections_db.log'
		TEMP_FILE = open(runCopy_db_log, 'w')
		TEMP_FILE.write('CopyLog\n')
		TEMP_FILE.close()

		if haveCy5 == 1:
			a021_Project.main( LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE, LOCAL_DATASET_PATH_DATA_DEBUG, FILE_Cy5, runCopy_db_log, 'ORG_RES' )
		if haveTRT == 1:
			a021_Project.main( LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE, LOCAL_DATASET_PATH_DATA_DEBUG, FILE_TRI, runCopy_db_log, 'ORG_RES' )
		if haveGFP == 1:
			a021_Project.main( LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE, LOCAL_DATASET_PATH_DATA_DEBUG, FILE_GFP, runCopy_db_log, 'ORG_RES' )
		if haveDAP == 1:
			a021_Project.main( LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE, LOCAL_DATASET_PATH_DATA_DEBUG, FILE_DAP, runCopy_db_log, 'ORG_RES' )
		elapsed_2 = (time.clock() - start_2)
		print "\t\tTime_2: "+str(elapsed_2)

	print "# ---------------------------------------------------------------------------------------------------------------------------------------"
	print "# Run Backgroun Substraction: "+DATA_FOLDER
	print "# ---------------------------------------------------------------------------------------------------------------------------------------"
	if runBack == 1:
		start_1 = time.clock()
		if haveCy5 == 1:
Ejemplo n.º 2
0
            FILE_DAP = a020_CopyFiles.main(GLOBAL_DATASET_PATH,
                                           LOCAL_DATASET_PATH_DATA,
                                           '*DAPIdsu.')
        elapsed_1 = (time.clock() - start_1)
        print "\t\tTime_1: " + str(elapsed_1)

    if runCopy_db == 1:
        start_2 = time.clock()
        runCopy_db_log = LOCAL_DATASET_PATH_LOG + '/runCopyProjections_db.log'
        TEMP_FILE = open(runCopy_db_log, 'w')
        TEMP_FILE.write('CopyLog\n')
        TEMP_FILE.close()

        if haveCy5 == 1:
            a021_Project.main(LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE,
                              LOCAL_DATASET_PATH_DATA_DEBUG, FILE_Cy5,
                              runCopy_db_log, 'ORG_RES')
        if haveTRT == 1:
            a021_Project.main(LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE,
                              LOCAL_DATASET_PATH_DATA_DEBUG, FILE_TRI,
                              runCopy_db_log, 'ORG_RES')
        if haveGFP == 1:
            a021_Project.main(LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE,
                              LOCAL_DATASET_PATH_DATA_DEBUG, FILE_GFP,
                              runCopy_db_log, 'ORG_RES')
        if haveDAP == 1:
            a021_Project.main(LOCAL_DATASET_PATH_LOG, FARSIGHT_BIN_EXE,
                              LOCAL_DATASET_PATH_DATA_DEBUG, FILE_DAP,
                              runCopy_db_log, 'ORG_RES')
        elapsed_2 = (time.clock() - start_2)
        print "\t\tTime_2: " + str(elapsed_2)
Ejemplo n.º 3
0
        if FILE_DAP == "":
            haveDAP = 0

    if runCopy_db == 1:
        start_2 = time.clock()
        runCopy_db_log = LOCAL_DATASET_PATH_LOG + "/runCopyProjections_db.log"
        TEMP_FILE = open(runCopy_db_log, "w")
        TEMP_FILE.write("CopyLog\n")
        TEMP_FILE.close()

        if haveCy5 == 1:
            a021_Project.main(
                LOCAL_DATASET_PATH_LOG,
                FARSIGHT_BIN_EXE,
                LOCAL_DATASET_PATH_DATA_DEBUG,
                FILE_Cy5,
                runCopy_db_log,
                "ORG_RES_HISTO",
                "TIFF",
            )
        if haveTRT == 1:
            a021_Project.main(
                LOCAL_DATASET_PATH_LOG,
                FARSIGHT_BIN_EXE,
                LOCAL_DATASET_PATH_DATA_DEBUG,
                FILE_TRI,
                runCopy_db_log,
                "ORG_RES_HISTO",
                "TIFF",
            )
        if haveGFP == 1: