From 75032db1cd95b99f50f2c73f3351f762dbe067af Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Fri, 24 Feb 2012 09:55:25 +0000
Subject: [PATCH] Missing the documentation

---
 modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
index ac3dbfc98d..d6e9d671a0 100644
--- a/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/DataFileAdaptor.pm
@@ -117,9 +117,14 @@ sub DataFile_to_extension {
   return $extensions->[0];
 }
 
-=head2
-
+=head2 DataFile_to_extensions
 
+  Arg[1]      : Bio::EnsEMBL::DataFile
+  Example     : my $exts = $dfa->DataFile_to_extensions($bam_df);
+  Description : Returns all expected extensions for the given DataFile type. The
+                first returned is the default extension
+  Returntype  : ArrayRef
+  Exceptions  : Raised if the given file type is not understood
 
 =cut
 
-- 
GitLab