[ 
https://issues.apache.org/jira/browse/CLIMATE-110?focusedWorklogId=14641&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-14641
 ]

Cameron Goodale logged work on CLIMATE-110:
-------------------------------------------

                Author: Cameron Goodale
            Created on: 19/Jul/13 18:30
            Start Date: 19/Jul/13 18:29
    Worklog Time Spent: 2h 
      Work Description: Fixed up the function and also wrote a test that will 
test the new kwarg I added to the function.

Issue Time Tracking
-------------------

            Worklog Id:     (was: 14641)
            Time Spent: 2h
    Remaining Estimate: 0h  (was: 2h)

> Pull the 'raw_input' functions out of the metrics.calcPdf function
> ------------------------------------------------------------------
>
>                 Key: CLIMATE-110
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-110
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.1-incubating
>            Reporter: Cameron Goodale
>            Assignee: Cameron Goodale
>             Fix For: 0.2-incubating
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> While reviewing a recent Review Board for metrics.py I noticed we have 
> several raw_input() functions within the  calcPdf function.
> nbins = int (raw_input('Please enter the number of bins to use. \n'))
> minEdge = float(raw_input('Please enter the minimum value to use for the 
> edge. \n'))
> maxEdge = float(raw_input('Please enter the maximum value to use for the 
> edge. \n'))
> These parameters should instead be passed into the function by the caller.  
> This will make the code easier to call from an external script or the GUI.
> This should be started once CLIMATE-88 is resolved.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to