Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/bba00d474c02
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 00:52:00 2012
Кодировка:
allpy: bba00d474c02

allpy

changeset 953:bba00d474c02

Clean rewrite of Makefiles for tests, downloading test alignments
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Mon, 19 Dec 2011 21:52:02 +0400
parents 6a54d39ce5cc
children 0dec37632d10 ff0418199677
files Makefile test/Makefile
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line diff
     1.1 --- a/Makefile	Mon Dec 19 21:43:42 2011 +0400
     1.2 +++ b/Makefile	Mon Dec 19 21:52:02 2011 +0400
     1.3 @@ -1,9 +1,7 @@
     1.4  all: codes blocks3d-www pair-cores-www blocks3d-wt tests
     1.5  
     1.6  tests:
     1.7 -	$(MAKE) -C test alignments
     1.8 -	PYTHONPATH=$(shell pwd) nosetests --with-doctest \
     1.9 -		--with-coverage --cover-package=allpy
    1.10 +	PYTHONPATH=$(shell pwd) $(MAKE) -C test
    1.11  
    1.12  doc:
    1.13  	sphinx-autopackage --suffix=rst --dest-dir=docs/source/allpy/ allpy
     2.1 --- a/test/Makefile	Mon Dec 19 21:43:42 2011 +0400
     2.2 +++ b/test/Makefile	Mon Dec 19 21:52:02 2011 +0400
     2.3 @@ -1,7 +1,9 @@
     2.4 -all:
     2.5 -	$(MAKE) -C .. tests
     2.6 +all: ex1.fasta
     2.7 +	nosetests --with-doctest --with-coverage --cover-package=allpy
     2.8  
     2.9 -alignments:
    2.10 -	wget -O - http://www.rcsb.org/pdb/files/fasta.txt?structureIdList=1JCC | head --lines 2 > ex1.fasta
    2.11 -	wget -O - http://www.rcsb.org/pdb/files/fasta.txt?structureIdList=1KFM | head --lines 2 >> ex1.fasta
    2.12 -
    2.13 +ex1.fasta:
    2.14 +	wget \
    2.15 +		-q \
    2.16 +		-O - \
    2.17 +		http://www.rcsb.org/pdb/files/fasta.txt?structureIdList={1JCC,1KFM} \
    2.18 +		| head -n 2 > $@