Open zirui opened 2 years ago
Hmm. I'm struggling to reproduce this @zirui. What sort of files are you trying to open? Maybe you can share them?
i'm trying to open a pdb file(download from rcsb.org), but i think this error was not caused by the file itself, because it occurs before open files(when select 'Launch Protein Viewer from Files' in command palette)
Ah, gotcha. You shouldn’t use the command palette to open from files. If you right click on the file(s) in the file explorer & select ‘Launch Protein Viewer from Files’ it should do the trick. Check out the GIF in the readme for an example :)
@zirui How did you get on? Can I close the issue?
right click on the file in the file explorer & select 'Launch Protein Viewer from Files' works! but i think it will be more convenient if view pdb from command palette is supported
I agree that would be a nice feature. Unfortunately, I don’t think I’m going to have bandwidth to add it in the foreseeable future. Apologies.
Happy to support if you want to contribute a PR.
On 16 May 2022, at 02:54, zirui @.***> wrote:
right click on the file in the file explorer & select 'Launch Protein Viewer from Files' works! but i think it will be more convenient if view pdb from command palette is supported
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
"Start Protein Viewer' with PDB works, but when select 'Launch Protein Viewer from Files(s)', vscode throw error msg: "Command 'Launch Protein Viewer from File(s)' resulted in an error (Cannot read properties of undefined (reading 'map'))
vscode version: