#!/bin/csh
#
# This UCSF Generation and Cleanup script was created by AGNuS 1.0.
#


# Testing to delete ./pipe_conversion/
if (-e ./pipe_conversion/) then
	echo "Deleteing ./pipe_conversion/"
	rm -fr ./pipe_conversion/ 
endif

# Testing to delete ./pipe_processing/
if (-e ./pipe_processing/) then
	echo "Deleteing ./pipe_processing/"
	rm -fr ./pipe_processing/ 
endif

# Generate UCSF if ./N15_HSQC.pipe exists
if (-e ./N15_HSQC.pipe) then
	echo "Attempting to generate UCSF file ./N15_HSQC.ucsf"
	if ( { pipe2ucsf ./N15_HSQC.pipe ./N15_HSQC.ucsf } ) then 
		echo "Deleteing ./N15_HSQC.pipe"
		rm -f ./N15_HSQC.pipe 
	endif
endif

