drmaa-python icon indicating copy to clipboard operation
drmaa-python copied to clipboard

Ignore attributes which are empty strings

Open chrisburr opened this issue 6 years ago • 1 comments

When using drmaa with condor I find that aborted jobs often (always?) end up with an empty string in the rusage data structure causing attr.split('=',1) to crash. I'm not sure if this is a bug in the DRMAA implementation I'm using but this works around the issue and shouldn't have any other side effects.

chrisburr avatar Mar 16 '19 18:03 chrisburr

Coverage Status

Coverage decreased (-0.1%) to 90.728% when pulling 1b8ed5b7980694e9f6dc3cdce601dd804a563c7a on chrisburr:patch-1 into ed6b926074d730f6fc37505360f65b8b79e8797f on pygridtools:master.

coveralls avatar Mar 16 '19 18:03 coveralls