Skip to content

Commit e5dc9f4

Browse files
Merge pull request #67 from samseaver/SBML_Units
Updating scale of units in SBML export
2 parents ac59f4b + 57cea95 commit e5dc9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Bio/KBase/ObjectAPI/KBaseFBA/FBAModel.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ sub printSBML {
811811
push(@{$output},"\t\t<listOfUnits>");
812812
push(@{$output},"\t\t\t<unit kind=\"mole\" scale=\"-3\"/>");
813813
push(@{$output},"\t\t\t<unit kind=\"gram\" exponent=\"-1\"/>");
814-
push(@{$output},"\t\t\t<unit kind=\"second\" multiplier=\".00027777\" exponent=\"-1\"/>");
814+
push(@{$output},"\t\t\t<unit kind=\"second\" multiplier=\"3600\" scale=\"0\" exponent=\"-1\"/>");
815815
push(@{$output},"\t\t</listOfUnits>");
816816
push(@{$output},"\t</unitDefinition>");
817817
push(@{$output},"</listOfUnitDefinitions>");

0 commit comments

Comments
 (0)