molstar 3.4.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +202 -197
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +106 -106
  5. package/build/viewer/molstar.js +1 -1
  6. package/build/viewer/molstar.js.LICENSE.txt +12 -14
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/index.js +1 -1
  9. package/lib/apps/viewer/app.js +1 -1
  10. package/lib/apps/viewer/embedded.html +43 -43
  11. package/lib/apps/viewer/index.html +106 -106
  12. package/lib/cli/chem-comp-dict/util.d.ts +20 -20
  13. package/lib/cli/cif2bcif/converter.js +1 -1
  14. package/lib/cli/cif2bcif/index.js +4 -4
  15. package/lib/cli/cifschema/util/cif-dic.d.ts +1 -1
  16. package/lib/cli/cifschema/util/cif-dic.js +7 -5
  17. package/lib/cli/cifschema/util/generate.d.ts +1 -1
  18. package/lib/cli/cifschema/util/generate.js +12 -3
  19. package/lib/cli/cifschema/util/schema.d.ts +3 -3
  20. package/lib/cli/cifschema/util/schema.js +1 -1
  21. package/lib/commonjs/apps/docking-viewer/index.js +2 -2
  22. package/lib/commonjs/apps/viewer/app.js +2 -2
  23. package/lib/commonjs/cli/chem-comp-dict/util.d.ts +20 -20
  24. package/lib/commonjs/cli/cif2bcif/converter.js +1 -1
  25. package/lib/commonjs/cli/cif2bcif/index.js +4 -4
  26. package/lib/commonjs/cli/cifschema/util/cif-dic.d.ts +1 -1
  27. package/lib/commonjs/cli/cifschema/util/cif-dic.js +7 -5
  28. package/lib/commonjs/cli/cifschema/util/generate.d.ts +1 -1
  29. package/lib/commonjs/cli/cifschema/util/generate.js +12 -3
  30. package/lib/commonjs/cli/cifschema/util/schema.d.ts +3 -3
  31. package/lib/commonjs/cli/cifschema/util/schema.js +1 -1
  32. package/lib/commonjs/examples/alpha-orbitals/index.js +2 -2
  33. package/lib/commonjs/examples/basic-wrapper/index.js +2 -2
  34. package/lib/commonjs/examples/lighting/index.js +2 -2
  35. package/lib/commonjs/examples/proteopedia-wrapper/index.js +2 -2
  36. package/lib/commonjs/extensions/anvil/behavior.d.ts +1 -0
  37. package/lib/commonjs/extensions/anvil/representation.d.ts +4 -0
  38. package/lib/commonjs/extensions/cellpack/representation.d.ts +1 -0
  39. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
  40. package/lib/commonjs/extensions/dnatco/confal-pyramids/color.js +223 -131
  41. package/lib/commonjs/extensions/dnatco/confal-pyramids/property.js +1 -3
  42. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  43. package/lib/commonjs/extensions/dnatco/confal-pyramids/util.js +18 -19
  44. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
  45. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
  46. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +5 -0
  47. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +2 -0
  48. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +1 -0
  49. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  50. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +2 -0
  51. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +1 -0
  52. package/lib/commonjs/mol-data/db/column.d.ts +10 -3
  53. package/lib/commonjs/mol-data/db/column.js +39 -17
  54. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
  55. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +2 -2
  56. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
  57. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  58. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +5 -3
  59. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +2 -1
  60. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +2 -2
  61. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
  62. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +2 -1
  63. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +2 -2
  64. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
  65. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
  66. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
  67. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  68. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
  69. package/lib/commonjs/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
  70. package/lib/commonjs/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  71. package/lib/commonjs/mol-gl/shader/direct-volume.frag.js +1 -1
  72. package/lib/commonjs/mol-gl/shader/image.frag.d.ts +2 -2
  73. package/lib/commonjs/mol-gl/shader/image.frag.js +2 -2
  74. package/lib/commonjs/mol-gl/shader/lines.frag.d.ts +2 -2
  75. package/lib/commonjs/mol-gl/shader/lines.frag.js +2 -2
  76. package/lib/commonjs/mol-gl/shader/points.frag.d.ts +2 -2
  77. package/lib/commonjs/mol-gl/shader/points.frag.js +2 -2
  78. package/lib/commonjs/mol-gl/shader/text.frag.d.ts +2 -2
  79. package/lib/commonjs/mol-gl/shader/text.frag.js +2 -2
  80. package/lib/commonjs/mol-gl/webgl/buffer.d.ts +2 -2
  81. package/lib/commonjs/mol-gl/webgl/buffer.js +12 -12
  82. package/lib/commonjs/mol-gl/webgl/context.d.ts +1 -1
  83. package/lib/commonjs/mol-gl/webgl/context.js +2 -2
  84. package/lib/commonjs/mol-gl/webgl/program.d.ts +1 -1
  85. package/lib/commonjs/mol-gl/webgl/program.js +10 -4
  86. package/lib/commonjs/mol-io/reader/cif/schema/bird.d.ts +8 -8
  87. package/lib/commonjs/mol-io/reader/cif/schema/bird.js +12 -11
  88. package/lib/commonjs/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
  89. package/lib/commonjs/mol-io/reader/cif/schema/ccd.d.ts +12 -12
  90. package/lib/commonjs/mol-io/reader/cif/schema/ccd.js +13 -12
  91. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
  92. package/lib/commonjs/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
  93. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
  94. package/lib/commonjs/mol-io/reader/cif/schema/mmcif.js +44 -39
  95. package/lib/commonjs/mol-io/reader/cif/schema.d.ts +1 -1
  96. package/lib/commonjs/mol-io/reader/cif/schema.js +22 -2
  97. package/lib/commonjs/mol-io/writer/mol/encoder.js +1 -1
  98. package/lib/commonjs/mol-math/geometry/common.d.ts +2 -1
  99. package/lib/commonjs/mol-math/geometry/common.js +1 -1
  100. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
  101. package/lib/commonjs/mol-math/geometry/gaussian-density/cpu.js +2 -2
  102. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
  103. package/lib/commonjs/mol-math/geometry/gaussian-density/gpu.js +7 -7
  104. package/lib/commonjs/mol-math/geometry/gaussian-density.d.ts +2 -2
  105. package/lib/commonjs/mol-math/geometry/gaussian-density.js +1 -1
  106. package/lib/commonjs/mol-math/geometry/molecular-surface.d.ts +2 -1
  107. package/lib/commonjs/mol-math/geometry/molecular-surface.js +2 -2
  108. package/lib/commonjs/mol-math/geometry/primitives/box3d.js +2 -1
  109. package/lib/commonjs/mol-math/geometry/primitives/sphere3d.js +12 -6
  110. package/lib/commonjs/mol-model/structure/model/model.js +14 -6
  111. package/lib/commonjs/mol-model/structure/model/properties/common.js +1 -1
  112. package/lib/commonjs/mol-model/structure/model/types.d.ts +19 -17
  113. package/lib/commonjs/mol-model/structure/model/types.js +30 -31
  114. package/lib/commonjs/mol-model/structure/query/queries/generators.js +1 -1
  115. package/lib/commonjs/mol-model/structure/structure/properties.d.ts +1 -1
  116. package/lib/commonjs/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
  117. package/lib/commonjs/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
  118. package/lib/commonjs/mol-model/structure/structure/unit/rings.js +3 -0
  119. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +2 -0
  120. package/lib/commonjs/mol-model-formats/structure/basic/entities.js +1 -1
  121. package/lib/commonjs/mol-model-formats/structure/basic/schema.d.ts +2 -2
  122. package/lib/commonjs/mol-model-formats/structure/common/component.d.ts +3 -3
  123. package/lib/commonjs/mol-model-formats/structure/common/component.js +46 -46
  124. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
  125. package/lib/commonjs/mol-model-formats/structure/pdb/atom-site.js +72 -7
  126. package/lib/commonjs/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
  127. package/lib/commonjs/mol-model-formats/structure/pdb/to-cif.js +7 -2
  128. package/lib/commonjs/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
  129. package/lib/commonjs/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
  130. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  131. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  132. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +3 -0
  133. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  134. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  135. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
  136. package/lib/commonjs/mol-plugin/commands.d.ts +1 -0
  137. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +3 -0
  138. package/lib/commonjs/mol-plugin-state/actions/structure.d.ts +6 -6
  139. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  140. package/lib/commonjs/mol-plugin-state/helpers/structure-selection-query.js +1 -1
  141. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +6 -0
  142. package/lib/commonjs/mol-plugin-ui/react18.d.ts +11 -0
  143. package/lib/commonjs/mol-plugin-ui/react18.js +38 -0
  144. package/lib/commonjs/mol-plugin-ui/state/common.js +6 -7
  145. package/lib/commonjs/mol-plugin-ui/structure/focus.d.ts +1 -1
  146. package/lib/commonjs/mol-plugin-ui/structure/focus.js +2 -2
  147. package/lib/commonjs/mol-plugin-ui/task.d.ts +2 -21
  148. package/lib/commonjs/mol-plugin-ui/task.js +39 -43
  149. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +1 -0
  150. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +1 -0
  151. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +1 -0
  152. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +1 -0
  153. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +1 -0
  154. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +3 -0
  155. package/lib/commonjs/mol-repr/structure/params.d.ts +4 -0
  156. package/lib/commonjs/mol-repr/structure/registry.d.ts +10 -0
  157. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +3 -0
  158. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  159. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  160. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +3 -0
  161. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  162. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  163. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  164. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +3 -0
  165. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +3 -0
  166. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +3 -0
  167. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +4 -0
  168. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  169. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  170. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  171. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  172. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  173. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +2 -0
  174. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  175. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
  176. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
  177. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.js +9 -9
  178. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
  179. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
  180. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  181. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.js +3 -3
  182. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
  183. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.js +4 -4
  184. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  185. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  186. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  187. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  188. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  189. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  190. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  191. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  192. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  193. package/lib/commonjs/mol-repr/structure/visual/util/common.d.ts +1 -3
  194. package/lib/commonjs/mol-repr/structure/visual/util/common.js +2 -27
  195. package/lib/commonjs/mol-repr/util.d.ts +2 -1
  196. package/lib/commonjs/mol-repr/util.js +2 -2
  197. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +5 -0
  198. package/lib/commonjs/mol-repr/volume/registry.d.ts +1 -0
  199. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  200. package/lib/examples/alpha-orbitals/index.html +61 -61
  201. package/lib/examples/alpha-orbitals/index.js +1 -1
  202. package/lib/examples/basic-wrapper/index.html +137 -137
  203. package/lib/examples/basic-wrapper/index.js +1 -1
  204. package/lib/examples/lighting/index.html +88 -88
  205. package/lib/examples/lighting/index.js +1 -1
  206. package/lib/examples/proteopedia-wrapper/index.html +236 -236
  207. package/lib/examples/proteopedia-wrapper/index.js +1 -1
  208. package/lib/extensions/anvil/behavior.d.ts +1 -0
  209. package/lib/extensions/anvil/representation.d.ts +4 -0
  210. package/lib/extensions/cellpack/representation.d.ts +1 -0
  211. package/lib/extensions/dnatco/confal-pyramids/color.d.ts +397 -2
  212. package/lib/extensions/dnatco/confal-pyramids/color.js +224 -132
  213. package/lib/extensions/dnatco/confal-pyramids/property.js +1 -3
  214. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +3 -0
  215. package/lib/extensions/dnatco/confal-pyramids/util.js +19 -20
  216. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +1 -0
  217. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +1 -0
  218. package/lib/extensions/rcsb/validation-report/representation.d.ts +5 -0
  219. package/lib/mol-canvas3d/canvas3d.d.ts +2 -0
  220. package/lib/mol-canvas3d/helper/camera-helper.d.ts +1 -0
  221. package/lib/mol-canvas3d/helper/handle-helper.d.ts +1 -0
  222. package/lib/mol-canvas3d/helper/helper.d.ts +2 -0
  223. package/lib/mol-canvas3d/passes/image.d.ts +1 -0
  224. package/lib/mol-data/db/column.d.ts +10 -3
  225. package/lib/mol-data/db/column.js +39 -18
  226. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -2
  227. package/lib/mol-geo/geometry/cylinders/cylinders.js +2 -2
  228. package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
  229. package/lib/mol-geo/geometry/mesh/color-smoothing.d.ts +1 -1
  230. package/lib/mol-geo/geometry/mesh/color-smoothing.js +5 -3
  231. package/lib/mol-geo/geometry/mesh/mesh.d.ts +2 -1
  232. package/lib/mol-geo/geometry/mesh/mesh.js +2 -2
  233. package/lib/mol-geo/geometry/points/points.d.ts +1 -1
  234. package/lib/mol-geo/geometry/spheres/spheres.d.ts +2 -1
  235. package/lib/mol-geo/geometry/spheres/spheres.js +2 -2
  236. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.d.ts +1 -1
  237. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +6 -4
  238. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +2 -1
  239. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +2 -2
  240. package/lib/mol-gl/shader/chunks/wboit-write.glsl.d.ts +2 -2
  241. package/lib/mol-gl/shader/chunks/wboit-write.glsl.js +2 -2
  242. package/lib/mol-gl/shader/direct-volume.frag.d.ts +1 -1
  243. package/lib/mol-gl/shader/direct-volume.frag.js +1 -1
  244. package/lib/mol-gl/shader/image.frag.d.ts +2 -2
  245. package/lib/mol-gl/shader/image.frag.js +2 -2
  246. package/lib/mol-gl/shader/lines.frag.d.ts +2 -2
  247. package/lib/mol-gl/shader/lines.frag.js +2 -2
  248. package/lib/mol-gl/shader/points.frag.d.ts +2 -2
  249. package/lib/mol-gl/shader/points.frag.js +2 -2
  250. package/lib/mol-gl/shader/text.frag.d.ts +2 -2
  251. package/lib/mol-gl/shader/text.frag.js +2 -2
  252. package/lib/mol-gl/webgl/buffer.d.ts +2 -2
  253. package/lib/mol-gl/webgl/buffer.js +12 -12
  254. package/lib/mol-gl/webgl/context.d.ts +1 -1
  255. package/lib/mol-gl/webgl/context.js +2 -2
  256. package/lib/mol-gl/webgl/program.d.ts +1 -1
  257. package/lib/mol-gl/webgl/program.js +10 -4
  258. package/lib/mol-io/reader/cif/schema/bird.d.ts +8 -8
  259. package/lib/mol-io/reader/cif/schema/bird.js +12 -11
  260. package/lib/mol-io/reader/cif/schema/ccd-extras.d.ts +1 -1
  261. package/lib/mol-io/reader/cif/schema/ccd.d.ts +12 -12
  262. package/lib/mol-io/reader/cif/schema/ccd.js +13 -12
  263. package/lib/mol-io/reader/cif/schema/mmcif-extras.d.ts +5 -5
  264. package/lib/mol-io/reader/cif/schema/mmcif-extras.js +2 -2
  265. package/lib/mol-io/reader/cif/schema/mmcif.d.ts +30 -26
  266. package/lib/mol-io/reader/cif/schema/mmcif.js +44 -39
  267. package/lib/mol-io/reader/cif/schema.d.ts +1 -1
  268. package/lib/mol-io/reader/cif/schema.js +22 -2
  269. package/lib/mol-io/writer/mol/encoder.js +1 -1
  270. package/lib/mol-math/geometry/common.d.ts +2 -1
  271. package/lib/mol-math/geometry/common.js +1 -1
  272. package/lib/mol-math/geometry/gaussian-density/cpu.d.ts +1 -1
  273. package/lib/mol-math/geometry/gaussian-density/cpu.js +2 -2
  274. package/lib/mol-math/geometry/gaussian-density/gpu.d.ts +1 -1
  275. package/lib/mol-math/geometry/gaussian-density/gpu.js +7 -7
  276. package/lib/mol-math/geometry/gaussian-density.d.ts +2 -2
  277. package/lib/mol-math/geometry/gaussian-density.js +1 -1
  278. package/lib/mol-math/geometry/molecular-surface.d.ts +2 -1
  279. package/lib/mol-math/geometry/molecular-surface.js +2 -2
  280. package/lib/mol-math/geometry/primitives/box3d.js +2 -1
  281. package/lib/mol-math/geometry/primitives/sphere3d.js +12 -6
  282. package/lib/mol-model/structure/model/model.js +14 -6
  283. package/lib/mol-model/structure/model/properties/common.js +1 -1
  284. package/lib/mol-model/structure/model/types.d.ts +19 -17
  285. package/lib/mol-model/structure/model/types.js +30 -31
  286. package/lib/mol-model/structure/query/queries/generators.js +1 -1
  287. package/lib/mol-model/structure/structure/properties.d.ts +1 -1
  288. package/lib/mol-model/structure/structure/unit/bonds/inter-compute.js +2 -4
  289. package/lib/mol-model/structure/structure/unit/bonds/intra-compute.js +1 -3
  290. package/lib/mol-model/structure/structure/unit/rings.js +3 -0
  291. package/lib/mol-model-formats/shape/ply.d.ts +2 -0
  292. package/lib/mol-model-formats/structure/basic/entities.js +1 -1
  293. package/lib/mol-model-formats/structure/basic/schema.d.ts +2 -2
  294. package/lib/mol-model-formats/structure/common/component.d.ts +3 -3
  295. package/lib/mol-model-formats/structure/common/component.js +46 -46
  296. package/lib/mol-model-formats/structure/pdb/atom-site.d.ts +2 -2
  297. package/lib/mol-model-formats/structure/pdb/atom-site.js +72 -7
  298. package/lib/mol-model-formats/structure/pdb/secondary-structure.js +11 -11
  299. package/lib/mol-model-formats/structure/pdb/to-cif.js +7 -2
  300. package/lib/mol-model-formats/structure/property/bonds/chem_comp.js +1 -1
  301. package/lib/mol-model-formats/structure/property/bonds/struct_conn.js +1 -1
  302. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +1 -0
  303. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +1 -0
  304. package/lib/mol-model-props/computed/representations/interactions.d.ts +3 -0
  305. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +4 -0
  306. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  307. package/lib/mol-plugin/behavior/dynamic/volume-streaming/util.js +4 -2
  308. package/lib/mol-plugin/commands.d.ts +1 -0
  309. package/lib/mol-plugin/util/viewport-screenshot.d.ts +3 -0
  310. package/lib/mol-plugin/version.js +2 -2
  311. package/lib/mol-plugin-state/actions/structure.d.ts +6 -6
  312. package/lib/mol-plugin-state/helpers/structure-selection-query.d.ts +1 -1
  313. package/lib/mol-plugin-state/helpers/structure-selection-query.js +1 -1
  314. package/lib/mol-plugin-state/transforms/representation.d.ts +6 -0
  315. package/lib/mol-plugin-ui/react18.d.ts +11 -0
  316. package/lib/mol-plugin-ui/react18.js +34 -0
  317. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  318. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  319. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  320. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  321. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  322. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  323. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -643
  324. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  325. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  326. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  327. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  328. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  329. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +128 -128
  330. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  331. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  332. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  333. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  334. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  335. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  336. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  337. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  338. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  339. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  340. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  341. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  342. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  343. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  344. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  345. package/lib/mol-plugin-ui/state/common.js +7 -8
  346. package/lib/mol-plugin-ui/structure/focus.d.ts +1 -1
  347. package/lib/mol-plugin-ui/structure/focus.js +2 -2
  348. package/lib/mol-plugin-ui/task.d.ts +2 -21
  349. package/lib/mol-plugin-ui/task.js +40 -46
  350. package/lib/mol-repr/shape/loci/angle.d.ts +1 -0
  351. package/lib/mol-repr/shape/loci/dihedral.d.ts +1 -0
  352. package/lib/mol-repr/shape/loci/orientation.d.ts +1 -0
  353. package/lib/mol-repr/shape/loci/plane.d.ts +1 -0
  354. package/lib/mol-repr/shape/model/unitcell.d.ts +1 -0
  355. package/lib/mol-repr/structure/complex-visual.d.ts +3 -0
  356. package/lib/mol-repr/structure/params.d.ts +4 -0
  357. package/lib/mol-repr/structure/registry.d.ts +10 -0
  358. package/lib/mol-repr/structure/representation/backbone.d.ts +3 -0
  359. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +3 -0
  360. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +3 -0
  361. package/lib/mol-repr/structure/representation/cartoon.d.ts +3 -0
  362. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +3 -0
  363. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +3 -0
  364. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +3 -0
  365. package/lib/mol-repr/structure/representation/orientation.d.ts +3 -0
  366. package/lib/mol-repr/structure/representation/putty.d.ts +3 -0
  367. package/lib/mol-repr/structure/representation/spacefill.d.ts +3 -0
  368. package/lib/mol-repr/structure/units-visual.d.ts +4 -0
  369. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +2 -0
  370. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +2 -0
  371. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +1 -0
  372. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +1 -0
  373. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +1 -0
  374. package/lib/mol-repr/structure/visual/element-sphere.d.ts +2 -0
  375. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +1 -0
  376. package/lib/mol-repr/structure/visual/gaussian-density-volume.js +2 -3
  377. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +5 -1
  378. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.js +10 -10
  379. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -1
  380. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.js +4 -5
  381. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +1 -0
  382. package/lib/mol-repr/structure/visual/molecular-surface-mesh.js +4 -4
  383. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -1
  384. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.js +5 -5
  385. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +1 -0
  386. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +1 -0
  387. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +1 -0
  388. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +2 -0
  389. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +2 -0
  390. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +1 -0
  391. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +1 -0
  392. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +1 -0
  393. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +1 -0
  394. package/lib/mol-repr/structure/visual/util/common.d.ts +1 -3
  395. package/lib/mol-repr/structure/visual/util/common.js +1 -24
  396. package/lib/mol-repr/util.d.ts +2 -1
  397. package/lib/mol-repr/util.js +2 -2
  398. package/lib/mol-repr/volume/isosurface.d.ts +5 -0
  399. package/lib/mol-repr/volume/registry.d.ts +1 -0
  400. package/lib/mol-script/language/builder.d.ts +1 -0
  401. package/package.json +162 -160
@@ -1,9 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
1
  /*!
8
2
  * The buffer module from node.js, for the browser.
9
3
  *
@@ -30,8 +24,9 @@ PERFORMANCE OF THIS SOFTWARE.
30
24
 
31
25
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
32
26
 
33
- /** @license React v0.20.2
34
- * scheduler.production.min.js
27
+ /**
28
+ * @license React
29
+ * react-dom.production.min.js
35
30
  *
36
31
  * Copyright (c) Facebook, Inc. and its affiliates.
37
32
  *
@@ -39,8 +34,9 @@ PERFORMANCE OF THIS SOFTWARE.
39
34
  * LICENSE file in the root directory of this source tree.
40
35
  */
41
36
 
42
- /** @license React v17.0.2
43
- * react-dom.production.min.js
37
+ /**
38
+ * @license React
39
+ * react-jsx-runtime.production.min.js
44
40
  *
45
41
  * Copyright (c) Facebook, Inc. and its affiliates.
46
42
  *
@@ -48,8 +44,9 @@ PERFORMANCE OF THIS SOFTWARE.
48
44
  * LICENSE file in the root directory of this source tree.
49
45
  */
50
46
 
51
- /** @license React v17.0.2
52
- * react-jsx-runtime.production.min.js
47
+ /**
48
+ * @license React
49
+ * react.production.min.js
53
50
  *
54
51
  * Copyright (c) Facebook, Inc. and its affiliates.
55
52
  *
@@ -57,8 +54,9 @@ PERFORMANCE OF THIS SOFTWARE.
57
54
  * LICENSE file in the root directory of this source tree.
58
55
  */
59
56
 
60
- /** @license React v17.0.2
61
- * react.production.min.js
57
+ /**
58
+ * @license React
59
+ * scheduler.production.min.js
62
60
  *
63
61
  * Copyright (c) Facebook, Inc. and its affiliates.
64
62
  *
@@ -1,37 +1,37 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
- <title>Mol* Docking Viewer</title>
7
- <style>
8
- #app {
9
- position: absolute;
10
- left: 100px;
11
- top: 100px;
12
- width: 800px;
13
- height: 600px;
14
- }
15
- </style>
16
- <link rel="stylesheet" type="text/css" href="molstar.css" />
17
- </head>
18
- <body>
19
- <div id="app"></div>
20
- <script type="text/javascript" src="./molstar.js"></script>
21
- <script type="text/javascript">
22
- function getParam(name, regex) {
23
- var r = new RegExp(name + '=' + '(' + regex + ')[&]?', 'i');
24
- return decodeURIComponent(((window.location.search || '').match(r) || [])[1] || '');
25
- }
26
- var pdbqt = getParam('pdbqt', '[^&]+').trim() || '../../examples/ace2.pdbqt';
27
- var mol2 = getParam('mol2', '[^&]+').trim() || '../../examples/ace2-hit.mol2';
28
-
29
- DockingViewer.create('app', [0x33DD22, 0x1133EE], true).then(viewer => {
30
- viewer.loadStructuresFromUrlsAndMerge([
31
- { url: pdbqt, format: 'pdbqt' },
32
- { url: mol2, format: 'mol2' }
33
- ]);
34
- });
35
- </script>
36
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
+ <title>Mol* Docking Viewer</title>
7
+ <style>
8
+ #app {
9
+ position: absolute;
10
+ left: 100px;
11
+ top: 100px;
12
+ width: 800px;
13
+ height: 600px;
14
+ }
15
+ </style>
16
+ <link rel="stylesheet" type="text/css" href="molstar.css" />
17
+ </head>
18
+ <body>
19
+ <div id="app"></div>
20
+ <script type="text/javascript" src="./molstar.js"></script>
21
+ <script type="text/javascript">
22
+ function getParam(name, regex) {
23
+ var r = new RegExp(name + '=' + '(' + regex + ')[&]?', 'i');
24
+ return decodeURIComponent(((window.location.search || '').match(r) || [])[1] || '');
25
+ }
26
+ var pdbqt = getParam('pdbqt', '[^&]+').trim() || '../../examples/ace2.pdbqt';
27
+ var mol2 = getParam('mol2', '[^&]+').trim() || '../../examples/ace2-hit.mol2';
28
+
29
+ DockingViewer.create('app', [0x33DD22, 0x1133EE], true).then(viewer => {
30
+ viewer.loadStructuresFromUrlsAndMerge([
31
+ { url: pdbqt, format: 'pdbqt' },
32
+ { url: mol2, format: 'mol2' }
33
+ ]);
34
+ });
35
+ </script>
36
+ </body>
37
37
  </html>
@@ -7,7 +7,7 @@
7
7
  import { __assign, __awaiter, __generator } from "tslib";
8
8
  import { Structure } from '../../mol-model/structure';
9
9
  import { PluginStateObject as PSO, PluginStateTransform } from '../../mol-plugin-state/objects';
10
- import { createPluginUI } from '../../mol-plugin-ui';
10
+ import { createPluginUI } from '../../mol-plugin-ui/react18';
11
11
  import { DefaultPluginUISpec } from '../../mol-plugin-ui/spec';
12
12
  import { PluginBehaviors } from '../../mol-plugin/behavior';
13
13
  import { PluginCommands } from '../../mol-plugin/commands';
@@ -25,7 +25,7 @@ import { PresetStructureRepresentations, StructureRepresentationPresetProvider }
25
25
  import { createVolumeRepresentationParams } from '../../mol-plugin-state/helpers/volume-representation-params';
26
26
  import { StateTransforms } from '../../mol-plugin-state/transforms';
27
27
  import { TrajectoryFromModelAndCoordinates } from '../../mol-plugin-state/transforms/model';
28
- import { createPluginUI } from '../../mol-plugin-ui';
28
+ import { createPluginUI } from '../../mol-plugin-ui/react18';
29
29
  import { DefaultPluginUISpec } from '../../mol-plugin-ui/spec';
30
30
  import { PluginCommands } from '../../mol-plugin/commands';
31
31
  import { PluginConfig } from '../../mol-plugin/config';
@@ -1,44 +1,44 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
- <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
- <title>Embedded Mol* Viewer</title>
8
- <style>
9
- #app {
10
- position: absolute;
11
- left: 100px;
12
- top: 100px;
13
- width: 800px;
14
- height: 600px;
15
- }
16
- </style>
17
- <link rel="stylesheet" type="text/css" href="molstar.css" />
18
- </head>
19
- <body>
20
- <div id="app"></div>
21
- <script type="text/javascript" src="./molstar.js"></script>
22
- <script type="text/javascript">
23
- molstar.Viewer.create('app', {
24
- layoutIsExpanded: true,
25
- layoutShowControls: false,
26
- layoutShowRemoteState: false,
27
- layoutShowSequence: true,
28
- layoutShowLog: false,
29
- layoutShowLeftPanel: true,
30
-
31
- viewportShowExpand: true,
32
- viewportShowSelectionMode: false,
33
- viewportShowAnimation: false,
34
-
35
- pdbProvider: 'rcsb',
36
- emdbProvider: 'rcsb',
37
- }).then(viewer => {
38
- viewer.loadPdb('7bv2');
39
- viewer.loadEmdb('EMD-30210', { detail: 6 });
40
- // viewer.loadAllModelsOrAssemblyFromUrl('https://cs.litemol.org/5ire/full', 'mmcif', false, { representationParams: { theme: { globalName: 'operator-name' } } })
41
- });
42
- </script>
43
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
+ <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
+ <title>Embedded Mol* Viewer</title>
8
+ <style>
9
+ #app {
10
+ position: absolute;
11
+ left: 100px;
12
+ top: 100px;
13
+ width: 800px;
14
+ height: 600px;
15
+ }
16
+ </style>
17
+ <link rel="stylesheet" type="text/css" href="molstar.css" />
18
+ </head>
19
+ <body>
20
+ <div id="app"></div>
21
+ <script type="text/javascript" src="./molstar.js"></script>
22
+ <script type="text/javascript">
23
+ molstar.Viewer.create('app', {
24
+ layoutIsExpanded: true,
25
+ layoutShowControls: false,
26
+ layoutShowRemoteState: false,
27
+ layoutShowSequence: true,
28
+ layoutShowLog: false,
29
+ layoutShowLeftPanel: true,
30
+
31
+ viewportShowExpand: true,
32
+ viewportShowSelectionMode: false,
33
+ viewportShowAnimation: false,
34
+
35
+ pdbProvider: 'rcsb',
36
+ emdbProvider: 'rcsb',
37
+ }).then(viewer => {
38
+ viewer.loadPdb('7bv2');
39
+ viewer.loadEmdb('EMD-30210', { detail: 6 });
40
+ // viewer.loadAllModelsOrAssemblyFromUrl('https://cs.litemol.org/5ire/full', 'mmcif', false, { representationParams: { theme: { globalName: 'operator-name' } } })
41
+ });
42
+ </script>
43
+ </body>
44
44
  </html>
@@ -1,107 +1,107 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
- <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
- <title>Mol* Viewer</title>
8
- <style>
9
- * {
10
- margin: 0;
11
- padding: 0;
12
- box-sizing: border-box;
13
- }
14
- html, body {
15
- width: 100%;
16
- height: 100%;
17
- overflow: hidden;
18
- }
19
- hr {
20
- margin: 10px;
21
- }
22
- h1, h2, h3, h4, h5 {
23
- margin-top: 5px;
24
- margin-bottom: 3px;
25
- }
26
- button {
27
- padding: 2px;
28
- }
29
- #app {
30
- position: absolute;
31
- left: 100px;
32
- top: 100px;
33
- width: 800px;
34
- height: 600px;
35
- }
36
- </style>
37
- <link rel="stylesheet" type="text/css" href="molstar.css" />
38
- </head>
39
- <body>
40
- <div id="app"></div>
41
- <script type="text/javascript" src="./molstar.js"></script>
42
- <script type="text/javascript">
43
- function getParam(name, regex) {
44
- var r = new RegExp(name + '=' + '(' + regex + ')[&]?', 'i');
45
- return decodeURIComponent(((window.location.search || '').match(r) || [])[1] || '');
46
- }
47
-
48
- var debugMode = getParam('debug-mode', '[^&]+').trim() === '1';
49
- if (debugMode) molstar.setDebugMode(debugMode, debugMode);
50
-
51
- var hideControls = getParam('hide-controls', '[^&]+').trim() === '1';
52
- var collapseLeftPanel = getParam('collapse-left-panel', '[^&]+').trim() === '1';
53
- var pdbProvider = getParam('pdb-provider', '[^&]+').trim().toLowerCase();
54
- var emdbProvider = getParam('emdb-provider', '[^&]+').trim().toLowerCase();
55
- var mapProvider = getParam('map-provider', '[^&]+').trim().toLowerCase();
56
- var pixelScale = getParam('pixel-scale', '[^&]+').trim();
57
- var pickScale = getParam('pick-scale', '[^&]+').trim();
58
- var pickPadding = getParam('pick-padding', '[^&]+').trim();
59
- var disableWboit = getParam('disable-wboit', '[^&]+').trim() === '1';
60
- var preferWebgl1 = getParam('prefer-webgl1', '[^&]+').trim() === '1' || void 0;
61
-
62
- molstar.Viewer.create('app', {
63
- layoutShowControls: !hideControls,
64
- viewportShowExpand: false,
65
- collapseLeftPanel: collapseLeftPanel,
66
- pdbProvider: pdbProvider || 'pdbe',
67
- emdbProvider: emdbProvider || 'pdbe',
68
- volumeStreamingServer: (mapProvider || 'pdbe') === 'rcsb'
69
- ? 'https://maps.rcsb.org'
70
- : 'https://www.ebi.ac.uk/pdbe/densities',
71
- pixelScale: parseFloat(pixelScale) || 1,
72
- pickScale: parseFloat(pickScale) || 0.25,
73
- pickPadding: isNaN(parseFloat(pickPadding)) ? 1 : parseFloat(pickPadding),
74
- enableWboit: disableWboit ? true : void 0, // use default value if disable-wboit is not set
75
- preferWebgl1: preferWebgl1,
76
- }).then(viewer => {
77
- var snapshotId = getParam('snapshot-id', '[^&]+').trim();
78
- if (snapshotId) viewer.setRemoteSnapshot(snapshotId);
79
-
80
- var snapshotUrl = getParam('snapshot-url', '[^&]+').trim();
81
- var snapshotUrlType = getParam('snapshot-url-type', '[^&]+').toLowerCase().trim() || 'molj';
82
- if (snapshotUrl && snapshotUrlType) viewer.loadSnapshotFromUrl(snapshotUrl, snapshotUrlType);
83
-
84
- var structureUrl = getParam('structure-url', '[^&]+').trim();
85
- var structureUrlFormat = getParam('structure-url-format', '[a-z]+').toLowerCase().trim();
86
- var structureUrlIsBinary = getParam('structure-url-is-binary', '[^&]+').trim() === '1';
87
- if (structureUrl) viewer.loadStructureFromUrl(structureUrl, structureUrlFormat, structureUrlIsBinary);
88
-
89
- var pdb = getParam('pdb', '[^&]+').trim();
90
- if (pdb) viewer.loadPdb(pdb);
91
-
92
- var pdbDev = getParam('pdb-dev', '[^&]+').trim();
93
- if (pdbDev) viewer.loadPdbDev(pdbDev);
94
-
95
- var emdb = getParam('emdb', '[^&]+').trim();
96
- if (emdb) viewer.loadEmdb(emdb);
97
-
98
- var afdb = getParam('afdb', '[^&]+').trim();
99
- if (afdb) viewer.loadAlphaFoldDb(afdb);
100
-
101
- var modelArchive = getParam('model-archive', '[^&]+').trim();
102
- if (modelArchive) viewer.loadModelArchive(modelArchive);
103
- });
104
- </script>
105
- <!-- __MOLSTAR_ANALYTICS__ -->
106
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6
+ <link rel="icon" href="./favicon.ico" type="image/x-icon">
7
+ <title>Mol* Viewer</title>
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+ html, body {
15
+ width: 100%;
16
+ height: 100%;
17
+ overflow: hidden;
18
+ }
19
+ hr {
20
+ margin: 10px;
21
+ }
22
+ h1, h2, h3, h4, h5 {
23
+ margin-top: 5px;
24
+ margin-bottom: 3px;
25
+ }
26
+ button {
27
+ padding: 2px;
28
+ }
29
+ #app {
30
+ position: absolute;
31
+ left: 100px;
32
+ top: 100px;
33
+ width: 800px;
34
+ height: 600px;
35
+ }
36
+ </style>
37
+ <link rel="stylesheet" type="text/css" href="molstar.css" />
38
+ </head>
39
+ <body>
40
+ <div id="app"></div>
41
+ <script type="text/javascript" src="./molstar.js"></script>
42
+ <script type="text/javascript">
43
+ function getParam(name, regex) {
44
+ var r = new RegExp(name + '=' + '(' + regex + ')[&]?', 'i');
45
+ return decodeURIComponent(((window.location.search || '').match(r) || [])[1] || '');
46
+ }
47
+
48
+ var debugMode = getParam('debug-mode', '[^&]+').trim() === '1';
49
+ if (debugMode) molstar.setDebugMode(debugMode, debugMode);
50
+
51
+ var hideControls = getParam('hide-controls', '[^&]+').trim() === '1';
52
+ var collapseLeftPanel = getParam('collapse-left-panel', '[^&]+').trim() === '1';
53
+ var pdbProvider = getParam('pdb-provider', '[^&]+').trim().toLowerCase();
54
+ var emdbProvider = getParam('emdb-provider', '[^&]+').trim().toLowerCase();
55
+ var mapProvider = getParam('map-provider', '[^&]+').trim().toLowerCase();
56
+ var pixelScale = getParam('pixel-scale', '[^&]+').trim();
57
+ var pickScale = getParam('pick-scale', '[^&]+').trim();
58
+ var pickPadding = getParam('pick-padding', '[^&]+').trim();
59
+ var disableWboit = getParam('disable-wboit', '[^&]+').trim() === '1';
60
+ var preferWebgl1 = getParam('prefer-webgl1', '[^&]+').trim() === '1' || void 0;
61
+
62
+ molstar.Viewer.create('app', {
63
+ layoutShowControls: !hideControls,
64
+ viewportShowExpand: false,
65
+ collapseLeftPanel: collapseLeftPanel,
66
+ pdbProvider: pdbProvider || 'pdbe',
67
+ emdbProvider: emdbProvider || 'pdbe',
68
+ volumeStreamingServer: (mapProvider || 'pdbe') === 'rcsb'
69
+ ? 'https://maps.rcsb.org'
70
+ : 'https://www.ebi.ac.uk/pdbe/densities',
71
+ pixelScale: parseFloat(pixelScale) || 1,
72
+ pickScale: parseFloat(pickScale) || 0.25,
73
+ pickPadding: isNaN(parseFloat(pickPadding)) ? 1 : parseFloat(pickPadding),
74
+ enableWboit: disableWboit ? false : void 0, // use default value if disable-wboit is not set
75
+ preferWebgl1: preferWebgl1,
76
+ }).then(viewer => {
77
+ var snapshotId = getParam('snapshot-id', '[^&]+').trim();
78
+ if (snapshotId) viewer.setRemoteSnapshot(snapshotId);
79
+
80
+ var snapshotUrl = getParam('snapshot-url', '[^&]+').trim();
81
+ var snapshotUrlType = getParam('snapshot-url-type', '[^&]+').toLowerCase().trim() || 'molj';
82
+ if (snapshotUrl && snapshotUrlType) viewer.loadSnapshotFromUrl(snapshotUrl, snapshotUrlType);
83
+
84
+ var structureUrl = getParam('structure-url', '[^&]+').trim();
85
+ var structureUrlFormat = getParam('structure-url-format', '[a-z]+').toLowerCase().trim();
86
+ var structureUrlIsBinary = getParam('structure-url-is-binary', '[^&]+').trim() === '1';
87
+ if (structureUrl) viewer.loadStructureFromUrl(structureUrl, structureUrlFormat, structureUrlIsBinary);
88
+
89
+ var pdb = getParam('pdb', '[^&]+').trim();
90
+ if (pdb) viewer.loadPdb(pdb);
91
+
92
+ var pdbDev = getParam('pdb-dev', '[^&]+').trim();
93
+ if (pdbDev) viewer.loadPdbDev(pdbDev);
94
+
95
+ var emdb = getParam('emdb', '[^&]+').trim();
96
+ if (emdb) viewer.loadEmdb(emdb);
97
+
98
+ var afdb = getParam('afdb', '[^&]+').trim();
99
+ if (afdb) viewer.loadAlphaFoldDb(afdb);
100
+
101
+ var modelArchive = getParam('model-archive', '[^&]+').trim();
102
+ if (modelArchive) viewer.loadModelArchive(modelArchive);
103
+ });
104
+ </script>
105
+ <!-- __MOLSTAR_ANALYTICS__ -->
106
+ </body>
107
107
  </html>
@@ -16,7 +16,7 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
16
16
  name: import("../../mol-data/db/column").Column.Schema.Str;
17
17
  one_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
18
18
  three_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
19
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "D-peptide linking" | "L-peptide linking" | "D-peptide NH3 amino terminus" | "L-peptide NH3 amino terminus" | "D-peptide COOH carboxy terminus" | "L-peptide COOH carboxy terminus" | "DNA linking" | "RNA linking" | "L-RNA linking" | "L-DNA linking" | "DNA OH 5 prime terminus" | "RNA OH 5 prime terminus" | "DNA OH 3 prime terminus" | "RNA OH 3 prime terminus" | "D-saccharide, beta linking" | "D-saccharide, alpha linking" | "L-saccharide, beta linking" | "L-saccharide, alpha linking" | "L-saccharide" | "D-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "L-gamma-peptide, C-delta linking" | "D-gamma-peptide, C-delta linking" | "L-beta-peptide, C-gamma linking" | "D-beta-peptide, C-gamma linking">;
19
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking">;
20
20
  pdbx_synonyms: import("../../mol-data/db/column").Column.Schema.List<string>;
21
21
  pdbx_type: import("../../mol-data/db/column").Column.Schema.Str;
22
22
  pdbx_ambiguous_flag: import("../../mol-data/db/column").Column.Schema.Str;
@@ -26,12 +26,12 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
26
26
  pdbx_model_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
27
27
  pdbx_model_coordinates_db_code: import("../../mol-data/db/column").Column.Schema.Str;
28
28
  pdbx_ideal_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
29
- pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
30
- pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
29
+ pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
30
+ pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
31
31
  pdbx_initial_date: import("../../mol-data/db/column").Column.Schema.Str;
32
32
  pdbx_modified_date: import("../../mol-data/db/column").Column.Schema.Str;
33
33
  pdbx_release_status: import("../../mol-data/db/column").Column.Schema.Aliased<"REL" | "HOLD" | "HPUB" | "OBS" | "DEL" | "REF_ONLY">;
34
- pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "EBI" | "PDBE" | "PDBJ" | "PDBC">;
34
+ pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "PDBE" | "PDBJ" | "PDBC" | "EBI">;
35
35
  };
36
36
  chem_comp_atom: {
37
37
  alt_atom_id: import("../../mol-data/db/column").Column.Schema.Str;
@@ -47,9 +47,9 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
47
47
  pdbx_model_Cartn_x_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
48
48
  pdbx_model_Cartn_y_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
49
49
  pdbx_model_Cartn_z_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
50
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "R" | "S">;
51
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
52
- pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
50
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"s" | "r" | "n">;
51
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
52
+ pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
53
53
  };
54
54
  chem_comp_bond: {
55
55
  atom_id_1: import("../../mol-data/db/column").Column.Schema.Str;
@@ -57,13 +57,13 @@ export declare function readCCD(): Promise<import("../../mol-data/db").DatabaseC
57
57
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
58
58
  value_order: import("../../mol-data/db/column").Column.Schema.Aliased<"sing" | "doub" | "trip" | "quad" | "arom" | "poly" | "delo" | "pi">;
59
59
  pdbx_ordinal: import("../../mol-data/db/column").Column.Schema.Int;
60
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "E" | "Z">;
61
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
60
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"z" | "n" | "e">;
61
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
62
62
  };
63
63
  pdbx_chem_comp_descriptor: {
64
64
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
65
65
  descriptor: import("../../mol-data/db/column").Column.Schema.Str;
66
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"SMILES_CANNONICAL" | "SMILES_CANONICAL" | "SMILES" | "InChI" | "InChI_MAIN" | "InChI_MAIN_FORMULA" | "InChI_MAIN_CONNECT" | "InChI_MAIN_HATOM" | "InChI_CHARGE" | "InChI_STEREO" | "InChI_ISOTOPE" | "InChI_FIXEDH" | "InChI_RECONNECT" | "InChIKey">;
66
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"smiles_cannonical" | "smiles_canonical" | "smiles" | "inchi" | "inchi_main" | "inchi_main_formula" | "inchi_main_connect" | "inchi_main_hatom" | "inchi_charge" | "inchi_stereo" | "inchi_isotope" | "inchi_fixedh" | "inchi_reconnect" | "inchikey">;
67
67
  program: import("../../mol-data/db/column").Column.Schema.Str;
68
68
  program_version: import("../../mol-data/db/column").Column.Schema.Str;
69
69
  };
@@ -84,7 +84,7 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
84
84
  name: import("../../mol-data/db/column").Column.Schema.Str;
85
85
  one_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
86
86
  three_letter_code: import("../../mol-data/db/column").Column.Schema.Str;
87
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "D-peptide linking" | "L-peptide linking" | "D-peptide NH3 amino terminus" | "L-peptide NH3 amino terminus" | "D-peptide COOH carboxy terminus" | "L-peptide COOH carboxy terminus" | "DNA linking" | "RNA linking" | "L-RNA linking" | "L-DNA linking" | "DNA OH 5 prime terminus" | "RNA OH 5 prime terminus" | "DNA OH 3 prime terminus" | "RNA OH 3 prime terminus" | "D-saccharide, beta linking" | "D-saccharide, alpha linking" | "L-saccharide, beta linking" | "L-saccharide, alpha linking" | "L-saccharide" | "D-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "L-gamma-peptide, C-delta linking" | "D-gamma-peptide, C-delta linking" | "L-beta-peptide, C-gamma linking" | "D-beta-peptide, C-gamma linking">;
87
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"other" | "d-peptide linking" | "l-peptide linking" | "d-peptide nh3 amino terminus" | "l-peptide nh3 amino terminus" | "d-peptide cooh carboxy terminus" | "l-peptide cooh carboxy terminus" | "dna linking" | "rna linking" | "l-rna linking" | "l-dna linking" | "dna oh 5 prime terminus" | "rna oh 5 prime terminus" | "dna oh 3 prime terminus" | "rna oh 3 prime terminus" | "d-saccharide, beta linking" | "d-saccharide, alpha linking" | "l-saccharide, beta linking" | "l-saccharide, alpha linking" | "l-saccharide" | "d-saccharide" | "saccharide" | "non-polymer" | "peptide linking" | "peptide-like" | "l-gamma-peptide, c-delta linking" | "d-gamma-peptide, c-delta linking" | "l-beta-peptide, c-gamma linking" | "d-beta-peptide, c-gamma linking">;
88
88
  pdbx_synonyms: import("../../mol-data/db/column").Column.Schema.List<string>;
89
89
  pdbx_type: import("../../mol-data/db/column").Column.Schema.Str;
90
90
  pdbx_ambiguous_flag: import("../../mol-data/db/column").Column.Schema.Str;
@@ -94,12 +94,12 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
94
94
  pdbx_model_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
95
95
  pdbx_model_coordinates_db_code: import("../../mol-data/db/column").Column.Schema.Str;
96
96
  pdbx_ideal_coordinates_details: import("../../mol-data/db/column").Column.Schema.Str;
97
- pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
98
- pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
97
+ pdbx_ideal_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
98
+ pdbx_model_coordinates_missing_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
99
99
  pdbx_initial_date: import("../../mol-data/db/column").Column.Schema.Str;
100
100
  pdbx_modified_date: import("../../mol-data/db/column").Column.Schema.Str;
101
101
  pdbx_release_status: import("../../mol-data/db/column").Column.Schema.Aliased<"REL" | "HOLD" | "HPUB" | "OBS" | "DEL" | "REF_ONLY">;
102
- pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "EBI" | "PDBE" | "PDBJ" | "PDBC">;
102
+ pdbx_processing_site: import("../../mol-data/db/column").Column.Schema.Aliased<"RCSB" | "PDBE" | "PDBJ" | "PDBC" | "EBI">;
103
103
  };
104
104
  chem_comp_atom: {
105
105
  alt_atom_id: import("../../mol-data/db/column").Column.Schema.Str;
@@ -115,9 +115,9 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
115
115
  pdbx_model_Cartn_x_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
116
116
  pdbx_model_Cartn_y_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
117
117
  pdbx_model_Cartn_z_ideal: import("../../mol-data/db/column").Column.Schema.Coordinate;
118
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "R" | "S">;
119
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
120
- pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
118
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"s" | "r" | "n">;
119
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
120
+ pdbx_leaving_atom_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
121
121
  };
122
122
  chem_comp_bond: {
123
123
  atom_id_1: import("../../mol-data/db/column").Column.Schema.Str;
@@ -125,13 +125,13 @@ export declare function readPVCD(): Promise<import("../../mol-data/db").Database
125
125
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
126
126
  value_order: import("../../mol-data/db/column").Column.Schema.Aliased<"sing" | "doub" | "trip" | "quad" | "arom" | "poly" | "delo" | "pi">;
127
127
  pdbx_ordinal: import("../../mol-data/db/column").Column.Schema.Int;
128
- pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "E" | "Z">;
129
- pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"N" | "Y">;
128
+ pdbx_stereo_config: import("../../mol-data/db/column").Column.Schema.Aliased<"z" | "n" | "e">;
129
+ pdbx_aromatic_flag: import("../../mol-data/db/column").Column.Schema.Aliased<"y" | "n">;
130
130
  };
131
131
  pdbx_chem_comp_descriptor: {
132
132
  comp_id: import("../../mol-data/db/column").Column.Schema.Str;
133
133
  descriptor: import("../../mol-data/db/column").Column.Schema.Str;
134
- type: import("../../mol-data/db/column").Column.Schema.Aliased<"SMILES_CANNONICAL" | "SMILES_CANONICAL" | "SMILES" | "InChI" | "InChI_MAIN" | "InChI_MAIN_FORMULA" | "InChI_MAIN_CONNECT" | "InChI_MAIN_HATOM" | "InChI_CHARGE" | "InChI_STEREO" | "InChI_ISOTOPE" | "InChI_FIXEDH" | "InChI_RECONNECT" | "InChIKey">;
134
+ type: import("../../mol-data/db/column").Column.Schema.Aliased<"smiles_cannonical" | "smiles_canonical" | "smiles" | "inchi" | "inchi_main" | "inchi_main_formula" | "inchi_main_connect" | "inchi_main_hatom" | "inchi_charge" | "inchi_stereo" | "inchi_isotope" | "inchi_fixedh" | "inchi_reconnect" | "inchikey">;
135
135
  program: import("../../mol-data/db/column").Column.Schema.Str;
136
136
  program_version: import("../../mol-data/db/column").Column.Schema.Str;
137
137
  };
@@ -96,7 +96,7 @@ function classify(name, field) {
96
96
  export function convert(path, asText, hints, filter) {
97
97
  var _this = this;
98
98
  if (asText === void 0) { asText = false; }
99
- return Task.create('BinaryCIF', function (ctx) { return __awaiter(_this, void 0, void 0, function () {
99
+ return Task.create('Convert CIF', function (ctx) { return __awaiter(_this, void 0, void 0, function () {
100
100
  var encodingProvider, cif, encoder, maxProgress, _i, _a, b, _b, _c, c, current, _d, _e, b, _f, _g, c, cat, fields, _h, _j, f, ret;
101
101
  return __generator(this, function (_k) {
102
102
  switch (_k.label) {
@@ -20,7 +20,7 @@ function process(srcPath, outPath, configPath, filterPath) {
20
20
  case 0:
21
21
  config = configPath ? JSON.parse(fs.readFileSync(configPath, 'utf8')) : void 0;
22
22
  filter = filterPath ? fs.readFileSync(filterPath, 'utf8') : void 0;
23
- return [4 /*yield*/, convert(srcPath, false, config, filter)];
23
+ return [4 /*yield*/, convert(srcPath, srcPath.toLowerCase().indexOf('.bcif') > 0, config, filter)];
24
24
  case 1:
25
25
  res = _a.sent();
26
26
  return [4 /*yield*/, write(outPath, res)];
@@ -56,13 +56,13 @@ function run(args) {
56
56
  }
57
57
  var parser = new argparse.ArgumentParser({
58
58
  add_help: true,
59
- description: 'Convert any CIF file to a BCIF file'
59
+ description: 'Convert any BCIF file to a CIF file or vice versa'
60
60
  });
61
61
  parser.add_argument('src', {
62
- help: 'Source CIF path'
62
+ help: 'Source file path'
63
63
  });
64
64
  parser.add_argument('out', {
65
- help: 'Output BCIF path'
65
+ help: 'Output file path'
66
66
  });
67
67
  parser.add_argument('-c', '--config', {
68
68
  help: 'Optional encoding strategy/precision config path',
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2017-2018 mol* contributors, licensed under MIT, See LICENSE file for more info.
2
+ * Copyright (c) 2017-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
3
3
  *
4
4
  * @author Alexander Rose <alexander.rose@weirdbyte.de>
5
5
  */