Skip to content

Commit

Permalink
bug fix --kazu
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhiro committed Aug 19, 2016
1 parent 0e59b2f commit 87f51d4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions production/v05/adcscale.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ProcessDriver: {
RefType: 2
RefProducer: "tpc"
ROIProducer: "tpc"
ROIType: 1
}
CosmicADCScale: {
ADCScaleMean: [0.00596, 0.00861, 0.00535] # data cosmic
Expand Down
7 changes: 4 additions & 3 deletions production/v05/job_larcv.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@
sys.exit(1)

t=table(in_project)
t.update_status(status=0,job_index=jobid)

session = t.job_session(job_index=jobid)
if out_project:
out_t=table(out_project)
if not out_t.exist(): out_t.create()
out_t.fill(session_id=session_id,status=1,filepath=record_path)
out_t.fill(session_id=session,status=1,filepath=record_path)

t.update_status(status=0,job_index=jobid)
6 changes: 3 additions & 3 deletions production/v05/job_merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@
sys.exit(1)

t=table(in_project)
t.update_status(status=0,job_index=jobid)

session = t.job_session(job_index=jobid)
if out_project:
out_t=table(out_project)
if not out_t.exist(): out_t.create()
out_t.fill(session_id=session_id,status=1,filepath=record_path)
out_t.fill(session_id=session,status=1,filepath=record_path)

t.update_status(status=0,job_index=jobid)
7 changes: 4 additions & 3 deletions production/v05/job_supera.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@
sys.exit(1)

t=table(in_project)
t.update_status(status=0,job_index=jobid)

session = t.job_session(job_index=jobid)
if out_project:
out_t=table(out_project)
if not out_t.exist(): out_t.create()
out_t.fill(session_id=session_id,status=1,filepath=record_path)
out_t.fill(session_id=session,status=1,filepath=record_path)

t.update_status(status=0,job_index=jobid)

0 comments on commit 87f51d4

Please sign in to comment.