Fixed the addition of dummy chain ends to structures read from UNRES PDB files
[unres.git] / source / wham / src / readrtns.F
index eb7e462..c13b16e 100644 (file)
@@ -92,6 +92,8 @@
       call readi(controlcard,'CONSTR_DIST',constr_dist,0)
       write (iout,*) "with_dihed_constr ",with_dihed_constr,
      & " CONSTR_DIST",constr_dist
+      refstr = index(controlcard,'REFSTR').gt.0
+      pdbref = index(controlcard,'PDBREF').gt.0
       call flush(iout)
       return
       end