| 
														
															@@ -529,8 +529,13 @@ function tripal_cv_obo_parse($obo_file,&$obo,&$header){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // remove newlines 
														 | 
														
														 | 
														
															       // remove newlines 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       $line = rtrim($line);   
														 | 
														
														 | 
														
															       $line = rtrim($line);   
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // remove any special characters that may be hiding 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      $line = preg_replace('/[^(\x20-\x7F)]*/','', $line); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // skip empty lines 
														 | 
														
														 | 
														
															       // skip empty lines 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if(strcmp($line,'')==0) { continue; } 
														 | 
														
														 | 
														
															       if(strcmp($line,'')==0) { continue; } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       //remove comments from end of lines 
														 | 
														
														 | 
														
															       //remove comments from end of lines 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       $line = preg_replace('/^(.*?)\!.*$/','\1',$line);  // TODO: if the explamation is escaped 
														 | 
														
														 | 
														
															       $line = preg_replace('/^(.*?)\!.*$/','\1',$line);  // TODO: if the explamation is escaped 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |