# Error with lineage display in renkulab

**URL:** <https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433>\
**Category:** RenkuLab\
**Created:** [8 October 2021 12:28 UTC](https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433 "2021-10-08T12:28:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kriegelw](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/kriegelw/32/130_2.png) [@Kriegelw](https://renku.discourse.group/u/Kriegelw)\
**Post date:** [8 October 2021 12:28 UTC](https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433/1 "2021-10-08T12:28:57Z")

</div>

When looking at the lineage of 1 of my files, I noticed that my image output was being shown as an input to my command. While the actual inputs (notebook, and .py files) are not shown.

Would I need to rerun all the new commands since the update?

 ![Screenshot from 2021-10-07 15-28-25](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/0faf693a3ea936ae60dc4b7075f397750b00658b.png)

---

<div class="post-metadata">

**Author:** ![cramakri](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/cramakri/32/7_2.png) [@cramakri](https://renku.discourse.group/u/cramakri)\
**Post date:** [8 October 2021 13:41 UTC](https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433/2 "2021-10-08T13:41:37Z")

</div>

Hi there!

I took a look at the project and it looks like the following happened (assuming it is ok to post these details since the project is public):

1. The file `Analysis/output/backnforth3.png` was first created on Dec 4
2. On Feb 9, the following command was run:

```auto
renku run papermill Analysis/Permeability_of_twig_directionality_or_pressure.ipynb notebooks/Pe
rmeability_of_twig_directionality_or_pressure.ran.ipynb -p input_c1 Data/Data_2020-07-17.csv -p out
put_c1 Analysis/output/constant_twig.png -p input_bf1 Data/Data_2020-07-27.csv -p output_bf1 Analys
is/output/backnforth1.png -p input_bf3 Data/Data_2020-07-29_2.csv -p output_bf3 Analysis/output/bac
knforth3.png -p input_bf4 Data/Data_2020-09-10.csv -p output_bf4 Analysis/output/backnforth4.png -p
 input_bfr1 Data/Data_2020-07-31.csv -p output_bfr1 Analysis/output/backnforthR1.png -p input_bfr2 
Data/Data_2020-09-17.csv -p output_bfr2 Analysis/output/backnforthR2.png

```

Because the file `Analysis/output/backnforth3.png` already existed, and was not passed to Renku as an output, it was considered to be an input to the command. The command does not reference any other notebook files or python files, which is why those do not appear as inputs.

I’m not sure how best to resolve these problems with the KG. Let me loop in one of the Renku CLI developers.

---

<div class="post-metadata">

**Author:** ![davidk](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/davidk/32/322_2.png) [@davidk](https://renku.discourse.group/u/davidk)\
**Post date:** [11 October 2021 16:47 UTC](https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433/3 "2021-10-11T16:47:00Z")

</div>

Hi,

Thank you for reporting this issue. We noticed there was a bug on the KG side, and only part of the lineage was properly returned to you.  
We have created an issue for this that you can follow here:

> <https://github.com/SwissDataScienceCenter/renku-graph/issues/747>
>
> File Data/output/backnforth4.png is displayed as an input only in the lineage bu…t it also is an output for a previous activity.
> 
> \[https://app.zenhub.com/files/147648238/8bf39985-e5d7-4d44-9df0-d44bb17bcf48/download\](https://app.zenhub.com/files/147648238/8bf39985-e5d7-4d44-9df0-d44bb17bcf48/download)
> 
> This was reported on our discourse : https://renku.discourse.group/t/error-with-lineage-display-in-renkulab/433/2
