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

Commit

Permalink
Fix to FBAFormulation and import binary function
Browse files Browse the repository at this point in the history
  • Loading branch information
cshenry committed Jul 26, 2012
1 parent a6fd389 commit 360da65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/import
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mscli mapping $*
mscli import $*
5 changes: 3 additions & 2 deletions lib/ModelSEED/MS/FBAFormulation.pm
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ sub createJobDirectory {
}
#Setting parameters
my $parameters = {
"perform MFA" => 1,
"Default min drain flux" => $self->defaultMinDrainFlux(),
"Default max drain flux" => $self->defaultMaxDrainFlux(),
"Max flux" => $self->defaultMaxFlux(),
Expand Down Expand Up @@ -395,11 +396,11 @@ sub createJobDirectory {
$ENV{ILOG_LICENSE_FILE} = "C:/ILOG/CPLEX_Studio_AcademicResearch122/cplex/bin/x86_win32/access.ilm";
$ENV{ARGONNEDB} = $dataDir."ReactionDB/";
my $exec = [
$self->mfatoolkitBinary().' resetparameter "MFA input directory" "'.$dataDir.'ReactionDB/" parameterfile "../Parameters/ProductionMFA.txt" parameterfile "'.$directory.'SpecializedParameters.txt" LoadCentralSystem "'.$directory.'Model.tbl" > "'.$directory.'log.txt"'
$self->mfatoolkitBinary().' resetparameter "MFA input directory" "'.$dataDir.'ReactionDB/" parameterfile "'.$directory.'SpecializedParameters.txt" LoadCentralSystem "'.$directory.'Model.tbl" > "'.$directory.'log.txt"'
];
ModelSEED::utilities::PRINTFILE($directory."runMFAToolkit.sh",$exec);
chmod 0775,$directory."runMFAToolkit.sh";
$self->command($self->mfatoolkitBinary().' resetparameter "MFA input directory" "'.$dataDir.'ReactionDB/" parameterfile "../Parameters/ProductionMFA.txt" parameterfile "'.$directory.'SpecializedParameters.txt" LoadCentralSystem "'.$directory.'Model.tbl" > "'.$directory.'log.txt"');
$self->command($self->mfatoolkitBinary().' resetparameter "MFA input directory" "'.$dataDir.'ReactionDB/" parameterfile "'.$directory.'SpecializedParameters.txt" LoadCentralSystem "'.$directory.'Model.tbl" > "'.$directory.'log.txt"');
}
=head3 parseObjectiveTerms
Definition:
Expand Down

0 comments on commit 360da65

Please sign in to comment.