diff --git a/tool/lib/journalLib.jq b/tool/lib/journalLib.jq index 562f8af..f1bf1d8 100644 --- a/tool/lib/journalLib.jq +++ b/tool/lib/journalLib.jq @@ -13,10 +13,10 @@ def ingestionDose($customUnits): .dose end; +# this probably isnt right def addStandardDeviations($expectationX; $standardDeviationX; $expectationY; $standardDeviationY): (pow($standardDeviationX; 2) + pow($expectationX; 2)) as $sumX | (pow($standardDeviationY; 2) + pow($expectationY; 2)) as $sumY | - (pow($expectationX; 2) * pow($expectationY; 2)) as $expectations | ($sumX * $sumY - $expectations) as $productVariance | if $productVariance > 0.0000001 then diff --git a/tool/main.jq b/tool/main.jq index b2e3169..bc2999a 100644 --- a/tool/main.jq +++ b/tool/main.jq @@ -63,8 +63,6 @@ def printExperienceStats($stats; $substanceFilter; $consumerFilter; $withTitle): if $ingestionInfo.isUnknown then "+ Unknown" else "" end + " \($ingestionInfo.unit)" - - end; $experienceStatsText |