Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Protein Viewer from File failed #10

Open
zirui opened this issue May 11, 2022 · 6 comments
Open

Launch Protein Viewer from File failed #10

zirui opened this issue May 11, 2022 · 6 comments

Comments

@zirui
Copy link

zirui commented May 11, 2022

"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:

Version: 1.67.1 (Universal)
Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
Date: 2022-05-06T12:37:16.526Z (4 days ago)
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Darwin x64 20.6.0
@a-r-j
Copy link
Collaborator

a-r-j commented May 11, 2022

Hmm. I'm struggling to reproduce this @zirui. What sort of files are you trying to open? Maybe you can share them?

@zirui
Copy link
Author

zirui commented May 13, 2022

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)

@a-r-j
Copy link
Collaborator

a-r-j commented May 13, 2022

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 :)

@a-r-j
Copy link
Collaborator

a-r-j commented May 13, 2022

@zirui How did you get on? Can I close the issue?

@zirui
Copy link
Author

zirui commented May 16, 2022

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

@a-r-j
Copy link
Collaborator

a-r-j commented May 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants