Skip to content

Patching a dictionary within a json update the dictionary #182

@tcezard

Description

@tcezard

When we update the results of fastqscreen from

uniq hits: { 
    "Homo sapiens": 300,
    "Mus musculus": 200
}

and the PATCH is

uniq hits: { 
    "Homo sapiens": 400,
    "Canis familiaris": 50
}

then the results is:

uniq hits: { 
    "Homo sapiens": 400,
    "Canis familiaris": 50,
    "Mus musculus": 200
}

Which seems wrong.
We could PATCH with

uniq hits: { 
    "Homo sapiens": 400,
    "Canis familiaris": 50,
    "Mus musculus": 0
}

in analysis driver to avoid the issue but that means we will have to add all the species

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions