Index: mttroot/mtt/bin/trans/struc2state_txt2txt ================================================================== --- mttroot/mtt/bin/trans/struc2state_txt2txt +++ mttroot/mtt/bin/trans/struc2state_txt2txt @@ -13,10 +13,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.4 1998/07/25 09:42:37 peterg +# %% Now writes out an array +# %% # %% Revision 1.3 1998/07/25 08:11:35 peterg # %% No longer used the SS method - just sets zero states # %% # %% Revision 1.2 1998/07/21 16:54:15 peterg # %% Changed erroneous header @@ -50,8 +53,8 @@ # print "x(" i ") =\t", x[i], "; \# " $4 " (" $3 ")" # } #}' >> $1_state.txt awk '{ - if ($1=="state") printf("MTTx(%s) \t= 0.0; \t\# %s (%s)\n", $2,$3,$4) + if ($1=="state") printf("mttx(%s) \t= 0.0; \t\# %s (%s)\n", $2,$3,$4) }' <$1_struc.txt >> $1_state.txt