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
544db5db
Commit
544db5db
authored
Apr 24, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Example ammended based on the objects name changes
parent
0009b915
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dream/KnowledgeExtraction/KEtool_examples/ParallelStations_withfailures/ParallelStations_example.py
...ParallelStations_withfailures/ParallelStations_example.py
+4
-4
No files found.
dream/KnowledgeExtraction/KEtool_examples/ParallelStations_withfailures/ParallelStations_example.py
View file @
544db5db
...
...
@@ -22,10 +22,10 @@ Created on 15 Jun 2014
# along with DREAM. If not, see <http://www.gnu.org/licenses/>.
# ===========================================================================
from
dream.KnowledgeExtraction.Transformations
import
Basic
Transformations
from
dream.KnowledgeExtraction.Transformations
import
Transformations
from
dream.KnowledgeExtraction.DistributionFitting
import
DistFittest
from
dream.KnowledgeExtraction.DistributionFitting
import
Distributions
from
dream.KnowledgeExtraction.ExcelOutput
import
Output
from
dream.KnowledgeExtraction.ExcelOutput
import
Excel
Output
from
dream.KnowledgeExtraction.JSONOutput
import
JSONOutput
from
dream.KnowledgeExtraction.ImportDatabase
import
ConnectionData
from
xml.etree
import
ElementTree
as
et
...
...
@@ -64,7 +64,7 @@ def main(test=0, JSONFileName='JSON_example.json',
else
:
continue
transform
=
Basic
Transformations
()
transform
=
Transformations
()
procTime_MILL1
=
[]
for
elem
in
MILL1
:
t1
=
[]
...
...
@@ -178,7 +178,7 @@ def main(test=0, JSONFileName='JSON_example.json',
jsonFile
.
close
()
#It closes the file
#=================== Calling the ExcelOutput object, outputs the outcomes of the statistical analysis in xls files ==========================#
export
=
Output
()
export
=
Excel
Output
()
export
.
PrintStatisticalMeasures
(
procTime_MILL1
,
'procTimeMILL1_StatResults.xls'
)
export
.
PrintStatisticalMeasures
(
procTime_MILL2
,
'procTimeMILL2_StatResults.xls'
)
...
...
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