Closed wjlei1990 closed 4 years ago
It looks like a documentation error. Could you try name
instead p.uid, s1.uid, t1.uid? like:
p.name, s1.name, t1.name
I will get read the docs updated about this section.
As documented in the API docs here, for example:
https://radicalentk.readthedocs.io/en/stable/api/app_create/task.html
Is uid
a attribute in the Task
class?
uid
is a valid attribute, but its value is assigned at a very late point in time, during task submission, and thus it is still None
when you try to use it. name
is assigned by the user immediately upon creation and is always valid, but it is the user's responsibility to keep it unique. Last but not least, the resolution of data references (as for you input staging dependency) is done based on the name
attribute, not on uid
s.
Got it. Thanks for clarifying it.
So is the example in the doc still valid?
t2.copy_input_data = ['$Pipeline_%s_Stage_%s_Task_%s/output.txt'%(p.uid, s1.uid, t1.uid)]
Hi,
I am trying to run the entk example on summit
localhost
here https://radicalentk.readthedocs.io/en/stable/user_guide/adding_data.htmlHowever, there is error shown up when I run the code:
I think it is coming from this line:
I tried to print the
p.uid
,s1.uid
, andt1.uid
. They are allNone
.Do you have any idea?
My env: