Skip to content

Commit

Permalink
chore: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
josoriom committed Apr 18, 2024
1 parent 145eccd commit d39054d
Show file tree
Hide file tree
Showing 14 changed files with 181 additions and 98 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "direct-manager",
"version": "0.0.6",
"version": "0.0.7",
"description": "Manager for direct optimization",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
Expand Down Expand Up @@ -60,4 +60,4 @@
"directories": {
"lib": "lib"
}
}
}
12 changes: 6 additions & 6 deletions predictions/delta-ethyl-vinyl-ether.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"nbAtoms": 1,
"delta": 6.707,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"12"
Expand Down Expand Up @@ -45,7 +45,7 @@
"nbAtoms": 2,
"delta": 3.919,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"5",
Expand All @@ -72,7 +72,7 @@
"nbAtoms": 1,
"delta": 4.793,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"10"
Expand Down Expand Up @@ -107,7 +107,7 @@
"nbAtoms": 1,
"delta": 4.738,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"10"
Expand Down Expand Up @@ -144,7 +144,7 @@
"nbAtoms": 3,
"delta": 1.233,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"8",
Expand All @@ -160,4 +160,4 @@
"multiplicity": "t",
"selected": true
}
]
]
8 changes: 4 additions & 4 deletions predictions/ethylAcetoacetate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"nbAtoms": 2,
"delta": 3.583,
"atomLabel": "H",
"j": [],
"js": [],
"multiplicity": "s",
"selected": true
},
Expand All @@ -25,7 +25,7 @@
"nbAtoms": 2,
"delta": 4.11,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"9",
Expand Down Expand Up @@ -54,7 +54,7 @@
"nbAtoms": 3,
"delta": 2.118,
"atomLabel": "H",
"j": [],
"js": [],
"multiplicity": "s",
"selected": true
},
Expand All @@ -70,7 +70,7 @@
"nbAtoms": 3,
"delta": 1.148,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"12",
Expand Down
12 changes: 6 additions & 6 deletions predictions/ethylVinylEther.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"nbAtoms": 1,
"delta": 6.707,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"12"
Expand Down Expand Up @@ -45,7 +45,7 @@
"nbAtoms": 2,
"delta": 3.919,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"5",
Expand All @@ -72,7 +72,7 @@
"nbAtoms": 1,
"delta": 4.793,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"10"
Expand Down Expand Up @@ -107,7 +107,7 @@
"nbAtoms": 1,
"delta": 4.738,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"10"
Expand Down Expand Up @@ -144,7 +144,7 @@
"nbAtoms": 3,
"delta": 1.233,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": [
"8",
Expand All @@ -160,4 +160,4 @@
"multiplicity": "t",
"selected": false
}
]
]
90 changes: 66 additions & 24 deletions predictions/jcoupling-ethyl-vinyl-ether.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
[
{
"atomIDs": ["10"],
"diaIDs": ["gGQHDIeIgihA~dPHeT"],
"atomIDs": [
"10"
],
"diaIDs": [
"gGQHDIeIgihA~dPHeT"
],
"nbAtoms": 1,
"delta": 6.707,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["12"],
"assignment": [
"12"
],
"diaID": "gGQHLIeIUfhRK}H`QJh",
"coupling": 14.689,
"multiplicity": "d",
"distance": 3,
"selected": true
},
{
"assignment": ["11"],
"assignment": [
"11"
],
"diaID": "gGQHLIeIUfhRS}H`QJh",
"coupling": 7.597,
"multiplicity": "d",
Expand All @@ -27,14 +35,23 @@
"selected": false
},
{
"atomIDs": ["8", "9"],
"diaIDs": ["gGQHDIeIgjfR`OtbADj`"],
"atomIDs": [
"8",
"9"
],
"diaIDs": [
"gGQHDIeIgjfR`OtbADj`"
],
"nbAtoms": 2,
"delta": 3.919,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["5", "6", "7"],
"assignment": [
"5",
"6",
"7"
],
"diaID": "gGQHLIeIUjdA~dPHeT",
"coupling": 7.012,
"multiplicity": "q",
Expand All @@ -46,22 +63,30 @@
"selected": false
},
{
"atomIDs": ["12"],
"diaIDs": ["gGQHLIeIUfhRK}H`QJh"],
"atomIDs": [
"12"
],
"diaIDs": [
"gGQHLIeIUfhRK}H`QJh"
],
"nbAtoms": 1,
"delta": 4.793,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["10"],
"assignment": [
"10"
],
"diaID": "gGQHDIeIgihA~dPHeT",
"coupling": 14.689,
"multiplicity": "d",
"distance": 3,
"selected": true
},
{
"assignment": ["11"],
"assignment": [
"11"
],
"diaID": "gGQHLIeIUfhRS}H`QJh",
"coupling": 2.264,
"multiplicity": "d",
Expand All @@ -73,22 +98,30 @@
"selected": false
},
{
"atomIDs": ["11"],
"diaIDs": ["gGQHLIeIUfhRS}H`QJh"],
"atomIDs": [
"11"
],
"diaIDs": [
"gGQHLIeIUfhRS}H`QJh"
],
"nbAtoms": 1,
"delta": 4.738,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["10"],
"assignment": [
"10"
],
"diaID": "gGQHDIeIgihA~dPHeT",
"coupling": 7.597,
"multiplicity": "d",
"distance": 3,
"selected": true
},
{
"assignment": ["12"],
"assignment": [
"12"
],
"diaID": "gGQHLIeIUfhRK}H`QJh",
"coupling": 2.264,
"multiplicity": "d",
Expand All @@ -100,14 +133,23 @@
"selected": false
},
{
"atomIDs": ["5", "6", "7"],
"diaIDs": ["gGQHLIeIUjdA~dPHeT"],
"atomIDs": [
"5",
"6",
"7"
],
"diaIDs": [
"gGQHLIeIUjdA~dPHeT"
],
"nbAtoms": 3,
"delta": 1.233,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["8", "9"],
"assignment": [
"8",
"9"
],
"diaID": "gGQHDIeIgjfR`OtbADj`",
"coupling": 7.012,
"multiplicity": "t",
Expand All @@ -118,4 +160,4 @@
"multiplicity": "t",
"selected": false
}
]
]
46 changes: 37 additions & 9 deletions predictions/triethylamine.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
[
{
"atomIDs": ["10", "11", "12", "13", "17", "18"],
"diaIDs": ["daz@`DBYRYmjjhb`GzP`HeT"],
"atomIDs": [
"10",
"11",
"12",
"13",
"17",
"18"
],
"diaIDs": [
"daz@`DBYRYmjjhb`GzP`HeT"
],
"nbAtoms": 6,
"delta": 2.611,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["7", "8", "9"],
"assignment": [
"7",
"8",
"9"
],
"diaID": "daz@`LBYRUejj`A~dHBIU@",
"coupling": 7.162,
"multiplicity": "q",
Expand All @@ -17,14 +30,29 @@
"multiplicity": "q"
},
{
"atomIDs": ["7", "8", "9", "14", "15", "16", "19", "20", "21"],
"diaIDs": ["daz@`LBYRUejj`A~dHBIU@"],
"atomIDs": [
"7",
"8",
"9",
"14",
"15",
"16",
"19",
"20",
"21"
],
"diaIDs": [
"daz@`LBYRUejj`A~dHBIU@"
],
"nbAtoms": 9,
"delta": 0.9500000000000001,
"atomLabel": "H",
"j": [
"js": [
{
"assignment": ["10", "11"],
"assignment": [
"10",
"11"
],
"diaID": "daz@`DBYRYmjjhb`GzP`HeT",
"coupling": 7.162,
"multiplicity": "t",
Expand All @@ -33,4 +61,4 @@
],
"multiplicity": "t"
}
]
]
Loading

0 comments on commit d39054d

Please sign in to comment.