Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modpar.r generation is broken #3

Open
johnsonjh opened this issue Mar 2, 2021 · 0 comments
Open

modpar.r generation is broken #3

johnsonjh opened this issue Mar 2, 2021 · 0 comments

Comments

@johnsonjh
Copy link
Member

  • Transferred from https://sourceforge.net/p/mtt/bugs/25/
    • Milestone: Bug
    • Status: open
    • Owner: nobody
    • Labels: MTT (33)
    • Priority: 5
    • Updated: 2002-05-17
    • Created: 2002-05-17
    • Creator: Geraint Paul Bevan
    • Private: No

The recent update (2002/04/16) of modpar_txt2r has broken the generation of <sys>_modpar.r.

It appears that modpar_txt2r now expects modulated parmameters to be prepended by the name of the system, which differs from previous behavior.

log session below illustrates problem:

$ mtt -q RC modpar txt
Copying RC_modpar.txt
$
$ cat RC_modpar.txt
# Modpar file (RC_modpar.txt)
# Generated by MTT at Fri May 17 12:11:51 BST 2002
variable

# End of RC_modpar.txt
$
$ mtt -q RC struc txt
Copying RC_struc.txt
$
$ cat RC_struc.txt
input
1
control
RC_control
1
input
2
variable
RC_variable
1
output
1
control
RC_control
1
state
1
c
RC_c
1
$
$ modpar_txt2r RC
Creating RC_modpar.r
$
$ cat RC_modpar.r
% Modpar file (RC_modpar.r)
% Generated by MTT at Fri May 17 12:16:43 BST 2002
$
$ cat ../../previous/RC/MTT_work/RC_modpar.r
% Modpar file (RC_modpar.r)
% Generated by MTT at Mon May 13 18:45:54 BST 2002
variable := mttu(2,1);
$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant