Skip to content

Subsamples table automatically adds ph_id column that should not exist. #454

@khoroshevskyi

Description

@khoroshevskyi

After project was created, I am modifying subsamples table. After I added subsamples, PEPhub automatically addes ph_id column to subsamples. It should not be happening. subsamples do not have this column.

example project: https://pephub.databio.org/khoroshevskyi/nextflow_test?tag=default

raw dict:

{'config': {'description': 'This is test pep with nextflow',
            'name': 'nextflow_test',
            'pep_version': '2.1.0',
            'sample_table': 'input1.csv'},
 'samples': [{'file': 'bed1.bed.gz', 'sample_name': 'bed1'},
             {'file': 'bed2.bed.gz', 'sample_name': 'bed2'},
             {'file': 'bed3.bed.gz', 'sample_name': 'bed3'},
             {'file': 'bed4.bed.gz', 'sample_name': 'bed4'}],
 'subsamples': [[{'ph_id': '', 'sample_name': 'bed1', 'subsample_t': '3'},
                 {'ph_id': '', 'sample_name': 'bed1', 'subsample_t': '8'}]]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    UI/UXbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions