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

Deprecated function buildmodel2() still used #64

Open
asoplata opened this issue Oct 7, 2015 · 1 comment
Open

Deprecated function buildmodel2() still used #64

asoplata opened this issue Oct 7, 2015 · 1 comment
Labels

Comments

@asoplata
Copy link
Collaborator

asoplata commented Oct 7, 2015

There are calls to the deprecated buildmodel2 function in both dnsim/matlab/functions/browse_dnsim.m and dnsim/matlab/functions/modeldiff.m, and there are still references to it in comments in dnsim/matlab/functions/dnsim.m and dnsim/matlab/functions/buildmodel.m.

I'm making an issue out of this because I don't know the differences between the interfaces and bodies of buildmodel and buildmodel2, nor which commit it was where they were merged/deleted/whatever.

@asoplata asoplata added the bug label Oct 7, 2015
@jsherfey
Copy link
Owner

jsherfey commented Oct 7, 2015

The only change from buildmodel2 to buildmodel was the name. There have
been a few changes to buildmodel since then, but they should all be
backwards compatible. In theory, it should be safe to replace all
references to buildmodel2 with the new name buildmodel. However, the
following DNSim GUI features should be tested before committing those
updates:

  • open the model browser ("browse" button) and select a model in the "node"
    list (buildmodel is used to retrieve the model description shown in the
    right panel)
  • test model comparison (in the "history" tab, do after creating two notes
    using the edit box below the interactive simulation panel or after running
    two simulations using the "batch" tab); buildmodel is used to construct the
    full models before comparing them.

Jason

On Wed, Oct 7, 2015 at 3:31 PM, asoplata [email protected] wrote:

There are calls to the deprecated buildmodel2 function in both
dnsim/matlab/functions/browse_dnsim.m and
dnsim/matlab/functions/modeldiff.m, and there are still references to it
in comments in dnsim/matlab/functions/dnsim.m and
dnsim/matlab/functions/buildmodel.m.

I'm making an issue out of this because I don't know the differences
between the interfaces and bodies of buildmodel and buildmodel2, nor
which commit it was where they were merged/deleted/whatever.


Reply to this email directly or view it on GitHub
#64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants