I have been trying to convert my warp files using reliontomotools and I keep having the following error:
Traceback` (most recent call last):
File "/groups/zottigx/.conda/envs/reliontomotools/bin/warptomo2relion", line 8, in
sys.exit(warpTomo2RelionProgram())
File "/groups/zottigx/.conda/envs/reliontomotools/lib/python3.9/site-packages/reliontomotools/warptomo2relion.py", line 527, in warpTomo2RelionProgram
xmlNums = np.array([int(re.findall(f'{tnTmpl}\d+', name)[0][p:])
File "/groups/zottigx/.conda/envs/reliontomotools/lib/python3.9/site-packages/reliontomotools/warptomo2relion.py", line 527, in
xmlNums = np.array([int(re.findall(f'{tnTmpl}\d+', name)[0][p:])
IndexError: list index out of range
It seems that there is some empty list
I have tried different inputs and syntax but I can't figure out what is wrong
Hi,
I have been trying to convert my warp files using reliontomotools and I keep having the following error:
Traceback` (most recent call last): File "/groups/zottigx/.conda/envs/reliontomotools/bin/warptomo2relion", line 8, in
sys.exit(warpTomo2RelionProgram())
File "/groups/zottigx/.conda/envs/reliontomotools/lib/python3.9/site-packages/reliontomotools/warptomo2relion.py", line 527, in warpTomo2RelionProgram
xmlNums = np.array([int(re.findall(f'{tnTmpl}\d+', name)[0][p:])
File "/groups/zottigx/.conda/envs/reliontomotools/lib/python3.9/site-packages/reliontomotools/warptomo2relion.py", line 527, in
xmlNums = np.array([int(re.findall(f'{tnTmpl}\d+', name)[0][p:])
IndexError: list index out of range
It seems that there is some empty list I have tried different inputs and syntax but I can't figure out what is wrong
The command line I am using is
warptomo2relion -i 'frames/TS.mrc.xml' -s 'frames/imod/TS.mrc/TS.mrc.st' -d 1800 -o warp_converted
Should the -i point to the stack or the frames .xml file? I have tried both none worked.
Can the -o be un mrc.st file? Again I have tried both (.mrc and .mrc.st) none worked.
Thank you!