-
Notifications
You must be signed in to change notification settings - Fork 3
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
Template selection during model reconstruction #111
Comments
Do you still have this problem, I've used this successfully:
|
Actually, looking at what you wrote, you're using a hyphen in the parameter name. |
To clarify, I am using Mike Mundy's mackinac to reconstruct modelseed models. There, reconstruction is invoked by: mackinac.reconstruct_modelseed_model('1679.26',template_reference='/mmundy/public/modelsupport/templates/MicrobialPositiveResolved.modeltemplate') There's a few layers of abstraction between Mackinac and what gets sent to ModelSEED. template_reference is specified in input, attached to a dict, which is then passed to ModelSEED.
The server request is simply: I was assuming that something broke in the chain between Mackinac and what is being passed to the server and back, but instead of failing verbosely it may just be defaulting, since template_reference being output is: 'template_ref': u'/chenry/public/modelsupport/templates/GramNegative.modeltemplate' |
I just tested this, by passing a separate template with the template_model parameter, and it worked for me, here's a summary of my output before and after:
By I ran ModelReconstruction directly using ProbModelSEEDHelper.pm, are you able to write a piece of code that calls this directly, and confirm that it works for you? |
Having problems with model template selection during reconstruction.
This involves the params['template_model']. Despite my attempt to pass a custom parameter, it consistently defaults to /chenry/public/modelsupport/templates/GramNegative.modeltemplate . Even attempts to pass a different /chenry/ modeltemplate defaults to GramNegative.
The text was updated successfully, but these errors were encountered: