Skip to content

Commit

Permalink
Merge branch 'ketcher-surface-chemistry' of https://github.com/ComPla…
Browse files Browse the repository at this point in the history
…t/chemotion_ELN into ketcher-surface-chemistry
  • Loading branch information
haditariq committed Nov 5, 2024
2 parents 6347a67 + 1c78338 commit ada46b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/packs/src/utilities/Ketcher2SurfaceChemistryUtils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// console.log disable untill the final version of the feature; some consoles are added for debugging purposes and they are important to track changes happening; Debugger can be used but for now console.log are placed;
// console.log = () => { };
console.log = () => { };

const template_list_for_storage = [
{ "struct": "{\n \"root\": {\n \"nodes\": [\n {\n \"$ref\": \"mol0\"\n },\n {\n \"type\": \"image\",\n \"format\": \"image/svg+xml\",\n \"boundingBox\": {\n \"x\": 7.900000000000001,\n \"y\": -5.824999999999999,\n \"z\": 0,\n \"width\": 1.0749999999999995,\n \"height\": 1.0749999999999995\n },\n \"data\": \"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4NCiAgPGRlZnM+DQogICAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkMSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNTAlIiBmeD0iNTAlIiBmeT0iNTAlIj4NCiAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0eWxlPSJzdG9wLWNvbG9yOnJnYigyNTUsMjU1LDI1NSk7c3RvcC1vcGFjaXR5OjEiIC8+DQogICAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0eWxlPSJzdG9wLWNvbG9yOnJnYigwLDAsMCk7c3RvcC1vcGFjaXR5OjEiIC8+DQogICAgPC9yYWRpYWxHcmFkaWVudD4NCiAgPC9kZWZzPg0KICA8Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI0MCIgZmlsbD0idXJsKCNncmFkMSkiIC8+DQo8L3N2Zz4NCg==\"\n }\n ],\n \"connections\": [],\n \"templates\": []\n },\n \"header\": {\n \"moleculeName\": \"t_01\"\n },\n \"mol0\": {\n \"type\": \"molecule\",\n \"atoms\": [\n {\n \"label\": \"A\",\n \"alias\": \"t_01\",\n \"location\": [\n 8.700000000000001,\n -6.550000000000001,\n 0\n ]\n },\n {\n \"label\": \"H\",\n \"location\": [\n 9.700000000000001,\n -6.550000000000001,\n 0\n ]\n }\n ],\n \"bonds\": [\n {\n \"type\": 1,\n \"atoms\": [\n 0,\n 1\n ]\n }\n ],\n \"sgroups\": [\n {\n \"type\": \"SUP\",\n \"atoms\": [\n 0,\n 1\n ],\n \"name\": \"\",\n \"expanded\": true,\n \"id\": 0,\n \"attachmentPoints\": [\n {\n \"attachmentAtom\": 0,\n \"leavingAtom\": 1,\n \"attachmentId\": \"1\"\n }\n ]\n }\n ]\n }\n}", "props": { "atomid": 0, "bondid": 0 } },
Expand Down
1 change: 0 additions & 1 deletion app/packs/src/utilities/UserTemplatesHelpers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import ProfilesFetcher from 'src/fetchers/ProfilesFetcher';
import UsersFetcher from 'src/fetchers/UsersFetcher';
import { three_parts_patten } from './Ketcher2SurfaceChemistryUtils';
const key = 'ketcher-tmpls';

const createAddAttachmentidToNewUserTemplate = async (newValue, newItem, deleteIdx) => {
Expand Down

0 comments on commit ada46b4

Please sign in to comment.