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

allpy

changeset 508:177f7ee1d3a1

geometrical-core: fix extra requirement spt file need not be specified to specify pdb file
author boris (kodomo) <bnagaev@gmail.com>
date Wed, 23 Feb 2011 19:11:40 +0300
parents 85ccc9e8e6f2
children 5dfb9b9761d5
files geometrical_core/geometrical-core
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/geometrical_core/geometrical-core	Wed Feb 23 18:31:41 2011 +0300
     1.2 +++ b/geometrical_core/geometrical-core	Wed Feb 23 19:11:40 2011 +0300
     1.3 @@ -57,8 +57,8 @@
     1.4      and not args.p and not args.s:
     1.5      print 'Error: no output file provided'
     1.6      exit()
     1.7 -if not (args.p and args.s) and not (not args.p and not args.s):
     1.8 -    print 'Error: provide both pdb and spt file or none of them'
     1.9 +if args.s and not args.p:
    1.10 +    print 'Error: specify pdb file (you specified spt file)'
    1.11      exit()
    1.12  
    1.13  try: