Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix moorhen centering issue #46

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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