From 665dc460f8912ced3024d5ccf18d6e13a7965f4b Mon Sep 17 00:00:00 2001 From: "Wang, Jiyao" Date: Tue, 13 Sep 2016 16:28:28 -0400 Subject: [PATCH] MMTF format allows https access --- README.md | 8 +++--- icn3d.html | 6 +++++ package.json | 2 +- src/icn3dui/full_ui.js | 20 +++++++++++++-- src/icn3dui/parsers/mmtf_parser.js | 39 ++++++++++++------------------ src/mmtf.js | 2 +- 6 files changed, 45 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 250a9c0e..3cc7ec7e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ We provided two versions of iCn3D widgets: [basic interface](https://www.ncbi.nl Either of these widgets could be easily added to your own web pages. Please see the [help page](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d.html) for more details. -Complete package of iCn3D including Three.js and jQuery can be downloaded from [https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.2.zip](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.2.zip). The "Download ZIP" link in this page does not include these third-party libraries. +Complete package of iCn3D including Three.js and jQuery can be downloaded from [https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.3.zip](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.3.zip). The "Download ZIP" link in this page does not include these third-party libraries. ## Usage @@ -89,16 +89,14 @@ gulp gh-pages ## Change log +The production version [icn3d-1.2.3](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.3.zip) was release on September 13, 2016. The MMTF format started to support https. + The production version [icn3d-1.2.2](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.2.zip) was release on August 24, 2016. Added a switch button to switch between all atoms and selected atoms. When the mode is "selected atoms", the switch and the text "selection" next to it are colored in orange. The menu "Style", "Color", and "Surface" are colored in orange and only apply to selected atoms. The production version [icn3d-1.2.1](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.1.zip) was release on August 18, 2016. Some bugs were fixed. The production version [icn3d-1.2.0](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.2.0.zip) was release on August 17, 2016. The dialog of 2D interactions was added to show the interactions among different chains. Both the nodes (chains) and lines (interactions) can be selected. Secondary structures will be calculated if the input PDB file has no defined secondary structure information. The previous files src/icn3d.js, src/full_ui.js, and src/simple_ui.js were separated into small files. -The production version [icn3d-1.1.1](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.1.1.zip) was release on July 25, 2016. Some bugs were fixed. - -The production version [icn3d-1.1.0](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.1.0.zip) was release on July 18, 2016. The new binary MMTF file format was supported. A new "Analysis" menu was added with an option to show disulfide bonds. Users can also input data from a url, either through the UI or through a encoded url parameter "?type=pdb&url=...", e.g., https://www.ncbi.nlm.nih.gov/Structure/icn3d/full.html?type=pdb&url=https%3A%2F%2Ffiles.rcsb.org%2Fview%2F1gpk.pdb. - All previous releases can be found at the [help page](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d.html#log). ## Contact diff --git a/icn3d.html b/icn3d.html index 9257d26d..8a6a8a5a 100644 --- a/icn3d.html +++ b/icn3d.html @@ -805,6 +805,10 @@

Commands for the advanced interface
c) Other -> Display Mode +Apply style, color, surface to all atoms: set mode all +Apply style, color, surface only to selection: set mode selection + c) Other -> Center: center selection d) Other -> Back: back @@ -1516,6 +1520,8 @@

API Documents of the advanced UI library iCn3DUI

Change Log:back to top

+The production version icn3d-1.2.3 was release on September 13, 2016. The MMTF format started to support https. + The production version icn3d-1.2.2 was release on August 18, 2016. Added a switch button to switch between all atoms and selected atoms. When the mode is "selected atoms", the switch and the text "selection" next to it are colored in orange. The menu "Style", "Color", and "Surface" are colored in orange and only apply to selected atoms.

diff --git a/package.json b/package.json index 1d672d83..79202ceb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "icn3d", - "version": "1.2.2", + "version": "1.2.3", "description": "iCn3D Structure Viewer", "main": "index.html", "scripts": { diff --git a/src/icn3dui/full_ui.js b/src/icn3dui/full_ui.js index 23f0d05e..7c7df595 100644 --- a/src/icn3dui/full_ui.js +++ b/src/icn3dui/full_ui.js @@ -3513,6 +3513,14 @@ iCn3DUI.prototype = { html += "