I gave a call in this way:
print("-L", str(cfg.project["phenotype"][0]), str(cfg.project["phenotype"][1]))
This will read the below one
phenotype:
- embryo: [SAMN00990702-1]
- larva: [SAMN00990702-2]
And it should give:
-L embryo,larva
But it is giving like:
-L {'embryo': ['SAMN00990702-1']} {'larva': ['SAMN00990702-2']}
Can anyone help me in solving this problem. Thank you !!