Wrong subject in tree graph #75

Open
opened 2026-08-10 13:45:42 +00:00 by scossu · 0 comments
Owner

When depositing test/assets/sip/pkar_submission-demo.csv, the following tree graph is generated:

[main graph…]

struct:tYAsHwnmVQlp299m {
    struct:xeH2uVPn9sxqtmmg
        a pas:TreeBranch ,
            pas:Proxy ;
        pas:path "demo_collection" ;
        pas:label "demo_collection"
    .

    <>
        pas:first struct:oaNrKsR8s8gT4JZ0
    .

    struct:KD4ECRwe1oV1gc0h
        pas:first struct:fyvWDRvJIxFcnVei ;
        a pas:TreeBranch ,
            pas:Proxy ;
        pas:path "demo_collection/demo_postcard/back" ;
        pas:label "back" ;
        pas:ref par:muhZIUbBLh4TBXWd
    .

    struct:OW8Qce5vzkPZR8tg
        a pas:TreeBranch ,
            pas:Proxy ;
        pas:path "demo_collection/demo_postcard/front/54321.jpg" ;
        pas:label "54321.jpg" ;
        pas:ref par:EH7WumaveaXZAsei
    .

    struct:HeAPAxw11WzssrNr
        a pas:TreeRoot ,
            pas:Proxy ;
        pas:label "demo_postcard" ;
        pas:ref par:jLYMjUtQpO9NuLPL
    .

    struct:fyvWDRvJIxFcnVei
        a pas:TreeBranch ,
            pas:Proxy ;
        pas:path "demo_collection/demo_postcard/back/567890.jpg" ;
        pas:label "567890.jpg" ;
        pas:ref par:i5LlJGPkGhZh07Xw
    .

    struct:oaNrKsR8s8gT4JZ0
        pas:first struct:OW8Qce5vzkPZR8tg ;
        a pas:TreeBranch ,
            pas:Proxy ;
        pas:path "demo_collection/demo_postcard/front" ;
        pas:label "front" ;
        pas:next struct:KD4ECRwe1oV1gc0h ;
        pas:ref par:wqUANcxdRIC3KQuU
    .

}

pas:first struct:oaNrKsR8s8gT4JZ0 should have the tree root node, struct:HeAPAxw11WzssrNr, as the subject, not the tree graph.

When depositing `test/assets/sip/pkar_submission-demo.csv`, the following tree graph is generated: ``` [main graph…] struct:tYAsHwnmVQlp299m { struct:xeH2uVPn9sxqtmmg a pas:TreeBranch , pas:Proxy ; pas:path "demo_collection" ; pas:label "demo_collection" . <> pas:first struct:oaNrKsR8s8gT4JZ0 . struct:KD4ECRwe1oV1gc0h pas:first struct:fyvWDRvJIxFcnVei ; a pas:TreeBranch , pas:Proxy ; pas:path "demo_collection/demo_postcard/back" ; pas:label "back" ; pas:ref par:muhZIUbBLh4TBXWd . struct:OW8Qce5vzkPZR8tg a pas:TreeBranch , pas:Proxy ; pas:path "demo_collection/demo_postcard/front/54321.jpg" ; pas:label "54321.jpg" ; pas:ref par:EH7WumaveaXZAsei . struct:HeAPAxw11WzssrNr a pas:TreeRoot , pas:Proxy ; pas:label "demo_postcard" ; pas:ref par:jLYMjUtQpO9NuLPL . struct:fyvWDRvJIxFcnVei a pas:TreeBranch , pas:Proxy ; pas:path "demo_collection/demo_postcard/back/567890.jpg" ; pas:label "567890.jpg" ; pas:ref par:i5LlJGPkGhZh07Xw . struct:oaNrKsR8s8gT4JZ0 pas:first struct:OW8Qce5vzkPZR8tg ; a pas:TreeBranch , pas:Proxy ; pas:path "demo_collection/demo_postcard/front" ; pas:label "front" ; pas:next struct:KD4ECRwe1oV1gc0h ; pas:ref par:wqUANcxdRIC3KQuU . } ``` `pas:first struct:oaNrKsR8s8gT4JZ0` should have the tree root node, `struct:HeAPAxw11WzssrNr`, as the subject, not the tree graph.
scossu changed title from Inaccuracies in tree graph to Wrong subject in tree graph 2026-08-10 13:46:01 +00:00
scossu added this to the v1.0.0 milestone 2026-08-10 14:50:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ktx/pocket_archive#75
No description provided.