UKB_RAP icon indicating copy to clipboard operation
UKB_RAP copied to clipboard

No return for 'eid'.

Open raminsalmas opened this issue 3 years ago • 2 comments

Hi, The command below doesn't work:

df_qced['FID'] = df_qced['IID']

I think there's a bug:

Bug:

fields = [fields_for_id(f)[0] for f in field_ids] + [participant.find_field(name='p20160_i0')]

Debugged:

fields = [fields_for_id(f)[0] for f in field_ids] + [participant.find_field(name='p20160_i0')] + [participant.find_field(name='eid')]

raminsalmas avatar Aug 25 '22 16:08 raminsalmas

Thank you for catching this. Feel free to make PR.

anastazie-dnanexus avatar Apr 20 '23 11:04 anastazie-dnanexus

Thanks @raminsalmas for your help. I had the same issue and your comment helped me to solve it!

mkoohim avatar Aug 21 '23 05:08 mkoohim

@raminsalmas would you mind submitting a PR with this change or pointing me to the notebook where you found this bug so that I can update it please.

ajlee21 avatar Jul 12 '24 18:07 ajlee21

Fixed in https://github.com/dnanexus/UKB_RAP/pull/39

ajlee21 avatar Jul 26 '24 20:07 ajlee21