- Timestamp:
- 11/19/09 11:29:48 (14 years ago)
- Branches:
- master
- Children:
- 7137e5d
- Parents:
- 32289cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pdbread.f
r32289cd r38d77eb 32 32 dimension cor(3) 33 33 character atm*4,rsn*3,rsno*3,chn,chno, 34 & rsid*5,rsido*5,line*132 34 & rsid*5,rsido*5,line*132, logString*255 35 35 36 36 natp=0 … … 48 48 lunpdb = 99 49 49 else 50 write ( *,'(a)')50 write (logString, '(a)') 51 51 & ' pdbread> empty file name to read pdb-structure' 52 52 … … 57 57 58 58 if (io.le.0) then 59 write ( *,'(a,/,a)')59 write (logString, '(a,/,a)') 60 60 & ' pdbread> ERROR opening file to read pdb-structure: ', 61 61 & pdbfil(1:iendst(pdbfil)) … … 70 70 71 71 if ( line(17:17).ne.' ' ) then 72 write ( *,'(a,/,a,/,a,/,2a)')72 write (logString, '(a,/,a,/,a,/,2a)') 73 73 & ' pdbread> found alternate atom location: ', 74 74 & ' !', … … 86 86 87 87 if ((natp+1).gt.MXATP) then 88 write ( *,'(a,i5,a,/,a)')88 write (logString, '(a,i5,a,/,a)') 89 89 & ' pdbread> >MXATP (',MXATP,') ATOM lines in PDB file ', 90 90 & pdbfil(1:iendst(pdbfil)) … … 97 97 98 98 if ((nchp+1).gt.MXCHP) then 99 write ( *,'(a,i3,a,/,a)')99 write (logString, '(a,i3,a,/,a)') 100 100 & ' pdbread> >MXCHP (',MXCHP,') chains in PDB file ', 101 101 & pdbfil(1:iendst(pdbfil)) … … 106 106 107 107 if ((nrsp+1).gt.MXRSP) then 108 write ( *,'(a,i3,a,/,a)')108 write (logString, '(a,i3,a,/,a)') 109 109 & ' pdbread> >MXRSP (',MXRSP,') residues in PDB file ', 110 110 & pdbfil(1:iendst(pdbfil)) … … 141 141 142 142 if ((nrsp+1).gt.MXRSP) then 143 write ( *,'(a,i3,a,/,a)')143 write (logString, '(a,i3,a,/,a)') 144 144 & ' pdbread> >MXRSP (',MXRSP,') residues in PDB file ', 145 145 & pdbfil(1:iendst(pdbfil)) … … 172 172 goto 1 173 173 174 2 write ( *,'(a,/,a,/,2a)')174 2 write (logString, '(a,/,a,/,2a)') 175 175 & ' pdbread> ERROR reading ATOM line ', 176 176 & line(:l), … … 195 195 else 196 196 197 write ( *,'(a,/,a)')197 write (logString, '(a,/,a)') 198 198 & ' pdbread> NO atom coordinates selected from file ', 199 199 & pdbfil(1:iendst(pdbfil)) … … 245 245 nml=nml+1 246 246 if (nml.gt.mxml) then 247 write (*,'(a,i4,2a)')' pdbvars> NUMBER of chains > '247 write (logString, '(a,i4,2a)')' pdbvars> NUMBER of chains > ' 248 248 & ,mxml,' in ',' ?' 249 249 stop … … 266 266 267 267 if (nrs.gt.mxrs) then 268 write (*,'(a,i4,2a)') ' pdbvars> NUMBER of residues > '269 & ,mxrs,' in ',' ?'268 write (logString, '(a,i4,2a)') 269 & ' pdbvars> NUMBER of residues > ', mxrs, ' in ',' ?' 270 270 stop 271 271 endif … … 421 421 zat(ii)=zatp(ix) 422 422 else 423 write (*,'(3a)') ' pdbvars> missing PDB atom ',nmat(ii),424 & ' is ref. point for SMMP - cannot proceed !'423 write (logString, '(3a)') ' pdbvars> missing PDB atom ', 424 & nmat(ii), ' is ref. point for SMMP - cannot proceed !' 425 425 endif 426 426 enddo … … 436 436 ! ++++++++++ 437 437 438 write (*,*) ' '439 write (*,*) ' Initial RMSD ',rmsd438 write (logString, *) ' ' 439 write (logString, *) ' Initial RMSD ',rmsd 440 440 441 441 enddo ! chains(molecules) … … 485 485 enddo 486 486 487 ! write (*,'(8a)') ' pdbvars> ',atm,' not found in '487 ! write (logString, '(8a)') ' pdbvars> ',atm,' not found in ' 488 488 ! # ,chnp(nc),' ',rsidp(irs),' ',rsnmp(irs) 489 489
Note:
See TracChangeset
for help on using the changeset viewer.