nfdi4plants / ARCCommander

Tool to manage your ARCs
MIT License
11 stars 9 forks source link

[BUG] arc export duplicates assay into new study #141

Closed floWetzels closed 1 year ago

floWetzels commented 2 years ago

Describe the bug When I run arc export on the proteomics samplearc (https://git.nfdi4plants.org/martinkuhl/SampleARC_Proteomics), the output json file contains two studies (see first screenshot):

However, the assay is actually registered in the study, as can be seen with arc a list or arc s list (see second screenshot). Therefore, there should only be one study containing the only assay. The study 01Minimal contains assay1 in the json output, but whithout a process sequence attached, whereas the assay itself (and therefore the second study) does contain the process sequence.

To Reproduce Run arc export on the proteomics samplearc (https://git.nfdi4plants.org/martinkuhl/SampleARC_Proteomics).

Expected behavior The output should only contain one assay and one study, with the only assay being part of the only study.

Screenshots

Screenshot from 2022-07-06 14-13-48

Screenshot from 2022-07-06 14-16-14

OS and framework information (please complete the following information):

Hannah-Doerpholz commented 2 years ago

The same happened with my own test ARC when I wanted to export the ARC on my OS:

OS and framework information: OS: Windows 10 Pro OS Version: 21H1

Brilator commented 1 year ago

I think the duplication issue is fixed. However, arc study list stills throws the error

WARNING: The ARC contains following registered studies that have no associated file:

check arc s list on freshly re-built https://git.nfdi4plants.org/brilator/samplearc_rnaseq