Skip to content

Commit

Permalink
fix win apbs code
Browse files Browse the repository at this point in the history
  • Loading branch information
ishitani committed Jan 13, 2025
1 parent 9741bb1 commit 8e39639
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions uxp_gui/cuemol2/base/content/tools/apbs-calcpot.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,15 @@
let out_path = "\"" + this.mPqrFile.path + "\"";

// submit PDB2PQR task
let args = ["--keep-chain",
"--nodebump", "--noopt",
"--ff", ffname.toUpperCase(), in_path, out_path];
let args = [];
if (dlg.mPlfName=="Windows_NT") {
args = [ffname.toUpperCase(), in_path, out_path];
}
else {
args = ["--keep-chain",
"--nodebump", "--noopt",
"--ff", ffname.toUpperCase(), in_path, out_path];
}

let strargs = args.join(" ");

Expand Down

0 comments on commit 8e39639

Please sign in to comment.