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
1ac1e8fe
Commit
1ac1e8fe
authored
Mar 27, 2015
by
panos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugs fixed in the scripts for the preparation of the DB approach
parent
67f6ffc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
dream/KnowledgeExtraction/PilotCases/CapacityStations/CapacityStationsInterface.py
.../PilotCases/CapacityStations/CapacityStationsInterface.py
+3
-3
dream/KnowledgeExtraction/PilotCases/CapacityStations/DataExtraction.py
...eExtraction/PilotCases/CapacityStations/DataExtraction.py
+1
-3
No files found.
dream/KnowledgeExtraction/PilotCases/CapacityStations/CapacityStationsInterface.py
View file @
1ac1e8fe
...
...
@@ -171,9 +171,9 @@ class Demo1(Frame):
ind2
=
a
.
fetchone
()
lastWP
=
ind2
.
WP_id
b
=
cursor
[
2
].
execute
(
"""
select
sequence.WP_id, sequence.Order
_id
from sequence where Operation_Name=?
"""
,
self
.
operationOption
.
get
())
select
WP
_id
from sequence where Operation_Name=?
and Order_id=?
"""
,
self
.
operationOption
.
get
()
,
order
)
ind4
=
b
.
fetchone
()
status2
=
'finished'
row
=
cursor
[
0
].
fetchone
()
...
...
dream/KnowledgeExtraction/PilotCases/CapacityStations/DataExtraction.py
View file @
1ac1e8fe
...
...
@@ -351,6 +351,4 @@ def DataExtraction(DBFilePath):
del
data
[
'WIP'
][
'ASBTST_id'
+
orderID
]
except
KeyError
:
continue
return
data
print
DataExtraction
(
'C:
\
Use
r
s
\
P
a
nos
\
Docume
n
ts
\
DB_App
r
oach
\
C
a
pacityStations'
)
\ No newline at end of file
return
data
\ No newline at end of file
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