Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherwharrop-noaa committed Aug 24, 2017
2 parents 84ceaa7 + 68a7ecd commit 51cb2e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workflowmgr/lsfbatchsystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ def run_bhist_bjobs(nacctfiles=1,bjobs=true)
recordstring.gsub!(/\n\s{3,}/,'')
recordstring.split(/\n+/).each { |event|
case event.strip
when /^Job <(\d+)>, *(Job Name <([^>]+)>,)? *User <([^>]+)>,/
#Job <216811>, Job Name <rt_test_gsm_t126_mom5_cice5_2015040100_2day_cold>, User<emc.nemspara>, Project <GFS-T2O>,
when /^Job *<(\d+)>, *(Job Name *<([^>]+)>,)? *User *<([^>]+)>,/
record[:jobid]=$1
record[:jobname]=$3
record[:user]=$4
Expand Down

0 comments on commit 51cb2e7

Please sign in to comment.