From 303137903e286ff9f4dc3146e921d01c97be602e Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Mon, 2 Apr 2007 12:25:22 +0000
Subject: [PATCH] Make factor type default to NULL

---
 .../regulatory_regions/RegulatoryFeatureParser/cisred.pm        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc-scripts/regulatory_regions/RegulatoryFeatureParser/cisred.pm b/misc-scripts/regulatory_regions/RegulatoryFeatureParser/cisred.pm
index a82e19d786..01e7558702 100644
--- a/misc-scripts/regulatory_regions/RegulatoryFeatureParser/cisred.pm
+++ b/misc-scripts/regulatory_regions/RegulatoryFeatureParser/cisred.pm
@@ -127,7 +127,7 @@ sub parse {
 	$factor_id = $highest_factor_id + 1;
 	$factor{INTERNAL_ID} = $factor_id;
 	$factor{NAME} = $group_name;
-	$factor{TYPE} = $factor{NAME}; # TODO - error checking that type is one of the enums?
+	$factor{TYPE} = 'NULL';
 	push @factors, \%factor;
 	$factor_ids_by_name{$factor{NAME}} = $factor_id;
 	$highest_factor_id = $factor_id;
-- 
GitLab