Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
fdef3a98
Commit
fdef3a98
authored
Mar 25, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The KE tool main script ammended to call correctly the KE tool objects
parent
48e3cb4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
dream/KnowledgeExtraction/KEtool_examples/AssembleDismantle/AssembleDismantle_example.py
...l_examples/AssembleDismantle/AssembleDismantle_example.py
+7
-6
No files found.
dream/KnowledgeExtraction/KEtool_examples/AssembleDismantle/AssembleDismantle_example.py
View file @
fdef3a98
...
...
@@ -22,12 +22,12 @@ Created on 12 Jun 2014
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
from
ImportExceldata
import
Import_Excel
from
ReplaceMissingValues
import
HandleMissingValues
from
DistributionFitting
import
Distributions
from
DistributionFitting
import
DistFittest
from
ExcelOutput
import
Output
from
JSONOutput
import
JSONOutput
from
dream.KnowledgeExtraction.
ImportExceldata
import
Import_Excel
from
dream.KnowledgeExtraction.
ReplaceMissingValues
import
HandleMissingValues
from
dream.KnowledgeExtraction.
DistributionFitting
import
Distributions
from
dream.KnowledgeExtraction.
DistributionFitting
import
DistFittest
from
dream.KnowledgeExtraction.
ExcelOutput
import
Output
from
dream.KnowledgeExtraction.
JSONOutput
import
JSONOutput
import
dream.simulation.LineGenerationJSON
as
ManPyMain
#import ManPy main JSON script
import
xlrd
import
json
...
...
@@ -83,6 +83,7 @@ C.PrintStatisticalMeasures(MTTF,'MTTF_StatResults.xls')
C
.
PrintDistributionFit
(
ProcTime
,
'ProcTime_DistFitResults.xls'
)
C
.
PrintDistributionFit
(
MTTR
,
'MTTR_DistFitResults.xls'
)
#================================ Call ManPy and run the simulation model =============================================#
#calls ManPy main script with the input
simulationOutput
=
ManPyMain
.
main
(
input_data
=
json
.
dumps
(
data
))
# save the simulation output
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment