Skip to content

Commit

Permalink
Merge pull request #46 from glycojones/fix_moorhen_center_issue
Browse files Browse the repository at this point in the history
Fix moorhen centering issue
Closes #46
  • Loading branch information
Dialpuri authored Sep 21, 2023
2 parents 73e19a9 + 6a5822b commit 85d4b5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Privateer Webserver Backend

on:
push:
branches: [ "wasm" ]
branches: [ "webserver" ]
paths:
- src/privateer/cpp/privateer-bind.cpp

pull_request:
branches: [ "wasm" ]
branches: [ "webserver" ]
paths:
- src/privateer/cpp/privateer-bind.cpp

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Privateer Webserver Frontend CI/CD

on:
push:
branches: [ "wasm" ]
branches: [ "webserver" ]
paths:
- webserver/**
pull_request:
branches: [ "wasm" ]
branches: [ "webserver" ]
paths:
- webserver/**

Expand Down
4 changes: 2 additions & 2 deletions webserver/src/components/PrivateerDisplay/SNFG.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ export default function SNFG({tableData, fileName, pdbString}) {
let id = tableData[rowID].id

let sugar_name = id.split("-")[0]
let sugar_id = id.split("-")[1].split("/")[0]
let sugar_id = id.split("-")[1].split("/")[0].split(":")[0]
let sugar_chain = id.split("/")[1].split("_")[0]

let center_string = sugar_chain + "/" + sugar_id + "(" + sugar_name + ")"
console.log(center_string)
console.log("PRIVATEER", center_string)
newMolecule.centreOn(center_string)
}
)
Expand Down

0 comments on commit 85d4b5d

Please sign in to comment.