diff --git a/README.md b/README.md
index b226cbf9..36a94b92 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.0.zip](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.0.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.0.1.zip](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.0.1.zip). The "Download ZIP" link in this page does not include these third-party libraries.
## Usage
@@ -86,21 +86,7 @@ gulp gh-pages
## Change log
-The beta version [icn3d-0.9.0-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.0-dev.zip) was release on Jan 17, 2016.
-
-The beta version [icn3d-0.9.1-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.1-dev.zip) was release on Feb 9, 2016. The surface generation was switched from the iview version (surface.js) to the more efficient 3Dmol version (ProteinSurface4.js and marchingcube.js).
-
-The beta version [icn3d-0.9.2-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.2-dev.zip) was release on March 4, 2016. CSS namespace was added. The file simple_ui.js was reorganized to share some codes with full_ui.js. A "Schematic" style was added to show one letter residue name in the C-alpha (for protein) or phosphorus (for nucleotide) position.
-
-The beta version [icn3d-0.9.3-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.3-dev.zip) was release on March 9, 2016. Improved the following features: "Back" and "Forward" button, Export State, Open State.
-
-The beta version [icn3d-0.9.4-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.4-dev.zip) was release on March 14, 2016. Added "Fog" and "Slab" features.
-
-The beta version [icn3d-0.9.5-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.5-dev.zip) was release on April 4, 2016. Enabled to import Mol2, SDF, XYZ, PDB, and mmCIF files. Added "Schematic" style for ligands. Improved the coordination between picking on 3D structure and selection on sequences.
-
-The beta version [icn3d-0.9.6-dev](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-0.9.6-dev.zip) was release on April 21, 2016. Enabled to export and import selection file where each custom sets of atoms are defined. Javascript files and CSS files are versioned. Developers can use the default latest version or specify the specific version in their pages.
-
-The production version [icn3d-1.0](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.0.zip) was release on April 28, 2016.
+The production version [icn3d-1.0.1](https://www.ncbi.nlm.nih.gov/Structure/icn3d/icn3d-1.0.1.zip) was release on May 16, 2016. 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/gulpfile.js b/gulpfile.js
index 05099dee..706aa362 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -27,7 +27,7 @@ gulp.task('libs',
"node_modules/jquery/dist/jquery.min.js",
"node_modules/jquery-ui/jquery-ui.min.js",
"node_modules/three/three.min.js",
- "node_modules/three/three_v71.min.js",
+ "node_modules/three/three_0.71.1.min.js",
])
.pipe(gulp.dest(dist + '/lib'));
});
diff --git a/icn3d.html b/icn3d.html
index 55a70a16..df99f857 100644
--- a/icn3d.html
+++ b/icn3d.html
@@ -101,11 +101,15 @@
What is iCn3D Structure Viewer?Include three.js and jQuery javascript libraries in the <head> of your html page
API Documents of the advanced UI library iCn3DUI
+
Change Log:
+The production version icn3d-1.0.1 was release on May 16, 2016.
+
+
+The production version icn3d-1.0.0 was release on April 28, 2016.
+
+
+The beta version icn3d-0.9.6-dev was release on April 21, 2016. Enabled to export and import selection file where each custom sets of atoms are defined. Javascript files and CSS files are versioned. Developers can use the default latest version or specify the specific version in their pages.
+
+
+The beta version icn3d-0.9.5-dev was release on April 4, 2016. Enabled to import Mol2, SDF, XYZ, PDB, and mmCIF files. Added "Schematic" style for ligands. Improved the coordination between picking on 3D structure and selection on sequences.
+
+
+The beta version icn3d-0.9.4-dev was release on March 14, 2016. Added "Fog" and "Slab" features.
+
+
+The beta version icn3d-0.9.3-dev was release on March 9, 2016. Improved the following features: "Back" and "Forward" button, Export State, Open State.
+
+
+The beta version icn3d-0.9.2-dev was release on March 4, 2016. CSS namespace was added. The file simple_ui.js was reorganized to share some codes with full_ui.js. A "Schematic" style was added to show one letter residue name in the C-alpha (for protein) or phosphorus (for nucleotide) position.
+
+
+The beta version icn3d-0.9.2-dev was release on March 4, 2016. CSS namespace was added. The file simple_ui.js was reorganized to share some codes with full_ui.js. A "Schematic" style was added to show one letter residue name in the C-alpha (for protein) or phosphorus (for nucleotide) position.
+
+
+The beta version icn3d-0.9.1-dev was release on Feb 9, 2016. The surface generation was switched from the iview version (surface.js) to the more efficient 3Dmol version (ProteinSurface4.js and marchingcube.js).
+
+
+The beta version icn3d-0.9.0-dev was release on Jan 17, 2016.
+
+
diff --git a/package.json b/package.json
index 69074f8b..04d0c7ba 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "icn3d",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "iCn3D Structure Viewer",
"main": "index.html",
"scripts": {
diff --git a/src/full_ui.js b/src/full_ui.js
index 1be7fabe..a02576b9 100644
--- a/src/full_ui.js
+++ b/src/full_ui.js
@@ -585,7 +585,10 @@ iCn3DUI.prototype = {
me.bInitial = false;
}
else {
- me.updateMenus(me.bInitial);
+ //me.updateMenus(me.bInitial);
+ if(me.bInitial) me.setProteinsNucleotidesLigands();
+ me.updateMenus(false);
+
me.updateSeqWinForCurrentAtoms();
me.bInitial = false;
@@ -844,7 +847,7 @@ iCn3DUI.prototype = {
sequencesHtml = "Select Sequences: touch to select, touch again to deselect, multiple selection is allowed without Ctrl key, click \"Save Selection\" to save the current selection ";
}
- sequencesHtml += "
Name: Description:
";
+ sequencesHtml += "
Name: Description:
";
sequencesHtml += resCategories + scroll + " ";
@@ -875,10 +878,12 @@ iCn3DUI.prototype = {
var structure = i.substr(0, dashPos);
var chain = i.substr(dashPos + 1);
-// if(me.icn3d.chainsSeq[i] !== undefined) {
- seqHtml += "" + me.icn3d.chainsSeq[i][0].resi + "";
+ var maxResi = 1;
+ if(me.icn3d.chainsSeq[i] !== undefined) { // me.icn3d.chainsSeq[i] should be defined, just in case
+ seqHtml += "" + me.icn3d.chainsSeq[i][0].resi + "";
- var maxResi = parseInt(me.icn3d.chainsSeq[i][0].resi);
+ maxResi = parseInt(me.icn3d.chainsSeq[i][0].resi);
+ }
for(var k=0, kl=seqLength; k < kl; ++k) {
var resiId = structure + "_" + chain + "_" + me.icn3d.chainsSeq[i][k].resi;
@@ -964,7 +969,7 @@ iCn3DUI.prototype = {
sequencesHtml = "Select Aligned Sequences: touch to select, touch again to deselect, multiple selection is allowed without Ctrl key, click \"Save Selection\" to save the current selection ";
}
- sequencesHtml += "