ncbi / icn3d

web-based protein structure viewer and analysis tool interactively or in batch mode
https://www.ncbi.nlm.nih.gov/Structure/icn3d
Other
154 stars 42 forks source link

"load url" command broken in icn3d_3.29.5 #113

Closed ssorgatem closed 9 months ago

ssorgatem commented 9 months ago

The command load url https://pdb-redo.eu/db/3dzu/3dzu_final.cif | type mmcif works fine on icn3d_3.29.4 but fails on icn3d_3.29.5, as it's trying to append the url to the site url as if it were a local file.

https://www.ncbi.nlm.nih.gov/Structure/icn3d/full.html?command=%22load%20url%20https://pdb-redo.eu/db/3dzu/3dzu_final.cif%20|%20type%20mmcif%22

Failed to load resource: the server responded with a status of 404 ( https://www.ncbi.nlm.nih.gov/Structure/icn3d/,https://pdb-redo.eu/db/3dzu/3dzu_final.cif )

jiywang3 commented 9 months ago

Thanks for the bug report. It was fixed: https://www.ncbi.nlm.nih.gov/Structure/icn3d/?type=mmcif&url=https://pdb-redo.eu/db/3dzu/3dzu_final.cif.