Hi everyone,
in order to not open another ticket and as it is related with voila tsv too, I might have found another bug when voila tsv is run with the --show-per-sample-psi option (when I run it without that option, it runs without problems). The command was:
voila tsv -j 4 -f $path/results_voila/voila_tsv_BD_psipersample.tsv --show-read-counts --show-per-sample-psi --changing-between-group-dpsi 0.10 $path/sg.zarr $path/heterogen.voila $path/grp1.sgc $path/grp2.sgc
I leave the error that pops up attached below:
Traceback (most recent call last):
File "/lustre/opt/campus/0.4/software/MAJIQ/2.5.0-foss-2024a/lib/python3.12/site-packages/rna_voila/run_voila.py", line 535, in main
args.func()
File "/lustre/opt/campus/0.4/software/MAJIQ/2.5.0-foss-2024a/lib/python3.12/site-packages/rna_voila/tsv.py", line 88, in __init__
HeterogenTsv()
File "/lustre/opt/campus/0.4/software/MAJIQ/2.5.0-foss-2024a/lib/python3.12/site-packages/rna_voila/tsv.py", line 456, in __init__
super().__init__(ViewHeterogens)
File "/lustre/opt/campus/0.4/software/MAJIQ/2.5.0-foss-2024a/lib/python3.12/site-packages/rna_voila/tsv.py", line 124, in __init__
self.tab_output()
File "/lustre/opt/campus/0.4/software/MAJIQ/2.5.0-foss-2024a/lib/python3.12/site-packages/rna_voila/tsv.py", line 511, in tab_output
fieldnames += [f'{exp}_psi' for i in range(len(group_names)) for exp in self._experiment_names[i] ]
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'HeterogenTsv' object has no attribute '_experiment_names'. Did you mean: 'experiment_names'?
If this is an actual bug and it gets fixed, can you let me know if it will be necessary to rerun all the pipeline or just the voila command after updating? Thanks!
Best,
Miriam