Skip to content

Commit

Permalink
Merge b3e84e1 into f194c14
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhuber committed Mar 5, 2019
2 parents f194c14 + b3e84e1 commit 077afa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiron/base/master/generic.py
Expand Up @@ -186,12 +186,12 @@ def append(self, job):
setattr(self, job.job_name, job)
self._job_object_lst.append(job)

def pop(self, i):
def pop(self, i=-1):
"""
Pop a job from the GenericMaster - just like you would pop an element from a list
Args:
i (int): position of the job
i (int): position of the job. (Default is last element, -1.)
Returns:
GenericJob: job
Expand Down

0 comments on commit 077afa0

Please sign in to comment.