Skip to content

rusage.contents could contain multiple equals signs #22

Closed

Description

@tomgreen66

In helpers.py:

    def adapt_rusage(rusage)

It splits the attributes in rusage.contents with:

   k, v = attr.split('=')

On my system (PBS Pro 12.2 and pbs-drmma library) there is the possibility of an attribute containing an equals signs so it requires:

    k, v = attr.split('=',1)

Otherwise it does not cleanly end the job and causes problems in software such as Galaxy.
Happy to provide patch.

Activity

  1. dan-blanchard commented on Jul 1, 2015

    @dan-blanchard
    Contributor

    I'd gladly accept a PR for that fix. Thanks for pointing that out. I've never used PBS, so I wasn't aware of that one.

  2. dan-blanchard commented on Jul 21, 2015

    @dan-blanchard
    Contributor

    Fixed by #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions