00001 00002 #include "../headers/tpmain.h" 00003 00004 /* 00005 00006 ## GENERAL INFORMATION 00007 ## 00008 ## FILE tpmain.c 00009 ## AUTHORS P. Schmidtke and V. Le Guilloux 00010 ## LAST MODIFIED 28-11-08 00011 ## 00012 ## SPECIFICATIONS 00013 ## MODIFICATIONS HISTORY 00014 ## 00015 ## 28-11-08 (v) Comments OK 00016 ## 01-04-08 (v) Added template for comments and creation of history 00017 ## 01-01-08 (vp) Created (random date...) 00018 ## 00019 ## TODO or SUGGESTIONS 00020 ## 00021 00022 */ 00023 00024 /* 00025 COPYRIGHT DISCLAIMER 00026 00027 Vincent Le Guilloux, Peter Schmidtke and Pierre Tuffery, hereby 00028 disclaim all copyright interest in the program “fpocket” (which 00029 performs protein cavity detection) written by Vincent Le Guilloux and Peter 00030 Schmidtke. 00031 00032 Vincent Le Guilloux 28 November 2008 00033 Peter Schmidtke 28 November 2008 00034 Pierre Tuffery 28 November 2008 00035 00036 GNU GPL 00037 00038 This file is part of the fpocket package. 00039 00040 fpocket is free software: you can redistribute it and/or modify 00041 it under the terms of the GNU General Public License as published by 00042 the Free Software Foundation, either version 3 of the License, or 00043 (at your option) any later version. 00044 00045 fpocket is distributed in the hope that it will be useful, 00046 but WITHOUT ANY WARRANTY; without even the implied warranty of 00047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00048 GNU General Public License for more details. 00049 00050 You should have received a copy of the GNU General Public License 00051 along with fpocket. If not, see <http://www.gnu.org/licenses/>. 00052 00053 **/ 00054 00055 /** 00056 ## FUNCTION: 00057 int main(int argc, char *argv[]) 00058 00059 ## SPECIFICATION: 00060 Main program for tpocket! 00061 00062 */ 00063 int main(int argc, char *argv[]) 00064 { 00065 s_tparams *par = get_tpocket_args(argc, argv) ; 00066 if(par && par->nfiles > 0) { 00067 test_fpocket(par) ; 00068 } 00069 00070 free_tparams(par) ; 00071 free_all() ; 00072 00073 return 0 ; 00074 } 00075