saga-project / BigJob

SAGA-based Pilot-Job Implementation for Compute and Data
http://saga-project.github.com/BigJob/
Other
19 stars 8 forks source link

task.get_id() doesn't work #140

Closed oleweidner closed 10 years ago

oleweidner commented 11 years ago
    print "    Submitted task with ID: %s (state: %s)" % (task.get_id(), task.get_state())
  File "/private/tmp/saga-test/src/bigjob/pilot/api/compute/api.py", line 379, in __getattr__
    return self[attr]
KeyError: 'get_id'
melrom commented 11 years ago

As per the API docs:

get_id(self) http://saga-project.github.io/BigJob/apidoc/pilot.impl.pilotcompute_manager-pysrc.html#ComputeUnit.get_id

Returns unique identifier of Compute Unit. Deprecated: Please use get_url() instead.