Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

ModelSEED commands aren't working #166

Open
mdejongh opened this issue Jul 16, 2012 · 3 comments
Open

ModelSEED commands aren't working #166

mdejongh opened this issue Jul 16, 2012 · 3 comments

Comments

@mdejongh
Copy link
Contributor

after an ms-update, commands like fba-checkgrowth print no results. There are calls to interface::LOADENVIRONMENT with no arguments that seem to be implicated.

@mdejongh
Copy link
Contributor Author

Two fixes allow me to run fba-checkgrowth again:

  1. the ARGS subroutine in utilities.pm expects a HASH but doesn't always get one, so I create an empty hash if necessary:

--- a/lib/ModelSEED/utilities.pm
+++ b/lib/ModelSEED/utilities.pm
@@ -16,6 +16,9 @@ Description:
=cut
sub ARGS {
my ($args,$mandatoryArguments,$optionalArguments) = @_;

  •   if (! defined $args) {
    
  •       $args = {};
    
  •   }
    if (ref($args) ne "HASH") {
            ModelSEED::utilities::ERROR("Arguments not hash");  
    }
    
  1. In Argonne.txt the output directory was changed to fbajobs; not sure why, but I changed it back to MFAToolkitOutputFiles and it works now

@cshenry
Copy link
Contributor

cshenry commented Jul 20, 2012

Hi Matt,

I did an update to fix this. Is it working for you now?

Chris

On Jul 16, 2012, at 3:54 PM, mdejongh wrote:

after an ms-update, commands like fba-checkgrowth print no results. There are calls to interface::LOADENVIRONMENT with no arguments that seem to be implicated.


Reply to this email directly or view it on GitHub:
#166

@mdejongh
Copy link
Contributor Author

Yes, looks good.

On Fri, Jul 20, 2012 at 2:29 PM, cshenry
[email protected]
wrote:

Hi Matt,

I did an update to fix this. Is it working for you now?

Chris

On Jul 16, 2012, at 3:54 PM, mdejongh wrote:

after an ms-update, commands like fba-checkgrowth print no results. There are calls to interface::LOADENVIRONMENT with no arguments that seem to be implicated.


Reply to this email directly or view it on GitHub:
#166


Reply to this email directly or view it on GitHub:
#166 (comment)

Matt DeJongh, Ph.D.
Computer Science Department
Hope College, Holland, MI 49423
(616) 395-7429

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

No branches or pull requests

2 participants