 			</code>
 		</p>
 
-		<cfdump var=#gm#>
-		<cfdump var=#errorOut#>
 		<p>
 			<a href="genbank_submit.cfm?action=reviewResults&batch_id=#batch_id#">review results</a>
 		</p>

	<cfset tmp=tmp & chr(9) & sd.COLLECTORS>
	<cfset tmp=tmp & chr(9) & sd.cdate>
	<cfset tmp=tmp & chr(9) & sd.country>
	<cfset tmp=tmp & chr(9) & sd.dll>
	<cfset tmp=tmp & chr(9) & sd.guid>
	<cfset tmp=tmp & chr(9) & host>
	<cfset tmp=tmp & chr(9) & dstg>
	<cfset tmp=tmp & chr(9) & sd.sex>
	<cfset tmp=tmp & chr(9) & s.tissue>
	<cfset tmp=tmp & chr(9) & s.source_material_id>
	<cfset lnum=lnum+1>


</cfloop>

			RELATEDCATALOGEDITEMS,
			ATTRIBUTES,
			sex,
			scientific_name,
			IDENTIFIEDBY,
			case when MINIMUM_ELEVATION is not null then MINIMUM_ELEVATION || '-' || MAXIMUM_ELEVATION || ' ' || ORIG_ELEV_UNITS
			else ''
			end altitude
		from
			flat
		where
