Changeset 591


Ignore:
Timestamp:
Feb 21, 2008, 11:40:36 AM (13 years ago)
Author:
Martin Svensson
Message:

References #93 Correct some comments and removed debug-code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/net/sf/basedb/illumina/src/net/sf/basedb/illumina/filehandler/SnpCvsFileHandler.java

    r590 r591  
    11/**
    2  * $Id$ Copyright (C) 2008 Martin Svensson This file is part of BASE - BioArray
    3  * Software Environment. Available at http://base.thep.lu.se/ BASE is free
    4  * software; you can redistribute it and/or modify it under the terms of the GNU
    5  * General Public License as published by the Free Software Foundation; either
    6  * version 2 of the License, or (at your option) any later version. BASE is
    7  * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    8  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    9  * PARTICULAR PURPOSE. See the GNU General Public License for more details. You
    10  * should have received a copy of the GNU General Public License along with this
    11  * program; if not, write to the Free Software Foundation, Inc., 59 Temple Place -
    12  * Suite 330, Boston, MA 02111-1307, USA.
    13  */
     2  $Id$
     3
     4  Copyright (C) 2008 Martin Svensson
     5
     6  This file is part of BASE - BioArray Software Environment.
     7  Available at http://base.thep.lu.se/
     8
     9  BASE is free software; you can redistribute it and/or
     10  modify it under the terms of the GNU General Public License
     11  as published by the Free Software Foundation; either version 2
     12  of the License, or (at your option) any later version.
     13
     14  BASE is distributed in the hope that it will be useful,
     15  but WITHOUT ANY WARRANTY; without even the implied warranty of
     16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17  GNU General Public License for more details.
     18
     19  You should have received a copy of the GNU General Public License
     20  along with this program; if not, write to the Free Software
     21  Foundation, Inc., 59 Temple Place - Suite 330,
     22  Boston, MA  02111-1307, USA.
     23*/
    1424package net.sf.basedb.illumina.filehandler;
    1525
     
    4151 * @version 2.6
    4252 */
    43 public class SnpCvsFileHandler extends AbstractDataFileHandler implements
    44     DataFileValidator, DataFileMetadataReader
     53public class SnpCvsFileHandler
     54  extends AbstractDataFileHandler
     55  implements DataFileValidator, DataFileMetadataReader
    4556{
    4657  // Max number of lines to parse
     
    6071  {}
    6172
    62   /*
    63    * (non-Javadoc)
    64    *
    65    * @see net.sf.basedb.core.filehandler.DataFileValidator#validate(net.sf.basedb.core.DbControl)
     73  /*
     74    @see net.sf.basedb.core.filehandler.DataFileValidator#validate(net.sf.basedb.core.DbControl)
    6675   */
    6776  @Override
     
    8796
    8897  /*
    89    * (non-Javadoc)
    90    *
    91    * @see net.sf.basedb.core.filehandler.DataFileMetadataReader#extractMetadata(net.sf.basedb.core.DbControl)
     98    @see net.sf.basedb.core.filehandler.DataFileMetadataReader#extractMetadata(net.sf.basedb.core.DbControl)
    9299   */
    93100  @Override
    94101  public void extractMetadata(DbControl dc)
    95102  {
    96     // TODO Auto-generated method stub
    97103    if (parsedHeadings == null)
    98104    {
     
    113119
    114120  /*
    115    * (non-Javadoc)
    116    *
    117    * @see net.sf.basedb.core.filehandler.DataFileMetadataReader#resetMetadata(net.sf.basedb.core.DbControl)
     121    @see net.sf.basedb.core.filehandler.DataFileMetadataReader#resetMetadata(net.sf.basedb.core.DbControl)
    118122   */
    119123  @Override
     
    141145    String line = null;
    142146    boolean valid = false;
    143     System.out.println("Parsing headings");
    144147    do
    145148    {
Note: See TracChangeset for help on using the changeset viewer.