Skip to content

Commit

Permalink
Merge pull request #73 from glycojones/change_svg_colours_to_original
Browse files Browse the repository at this point in the history
change colour of glycans to original SNFG colours
  • Loading branch information
Dialpuri authored Nov 29, 2023
2 parents acb39ce + 7de4f9b commit b5020e7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 154 deletions.
1 change: 1 addition & 0 deletions emsdk
Submodule emsdk added at 88c2c9
1 change: 1 addition & 0 deletions privateer_webserver_dependencies
Submodule privateer_webserver_dependencies added at e7d0c2
4 changes: 2 additions & 2 deletions src/privateer/cpp/privateer-bind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extern "C" std::vector<std::string> read_file(const std::string &file, const std
wurcs_string = list_of_glycans[i].generate_wurcs();
// std::cout << wurcs_string << std::endl;

privateer::glycanbuilderplot::Plot plot(true, false, list_of_glycans[i].get_root_by_name());
privateer::glycanbuilderplot::Plot plot(true, true, list_of_glycans[i].get_root_by_name());
// std::vector<int> viewbox = {0,0,300,300};
// plot.set_viewbox(viewbox);
plot.plot_glycan(list_of_glycans[i]);
Expand Down Expand Up @@ -168,7 +168,7 @@ extern "C" std::vector<TableEntry> read_file_to_table(const std::string &file, c

privateer::glycanbuilderplot::GlycanErrorCount* err = new privateer::glycanbuilderplot::GlycanErrorCount;

privateer::glycanbuilderplot::Plot plot(true, false, list_of_glycans[i].get_root_by_name());
privateer::glycanbuilderplot::Plot plot(true, true, list_of_glycans[i].get_root_by_name());
plot.plot_glycan(list_of_glycans[i], err);

std::ostringstream os;
Expand Down
4 changes: 2 additions & 2 deletions src/privateer/cpp/privateer-lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,8 @@ namespace privateer
{
inline std::string carbname_of ( std::string name ) { return clipper::data::carbname_of ( name ); }
inline bool found_in_database ( std::string name ) { return clipper::data::found_in_database ( name ); }
std::string get_annotated_glycans ( std::string pdb_filename, bool original_colour_scheme = false, std::string expression_system = "undefined" );
std::string get_annotated_glycans_hierarchical ( std::string pdb_filename, bool original_colour_scheme = false, std::string expression_system = "undefined" );
std::string get_annotated_glycans ( std::string pdb_filename, bool original_colour_scheme = true, std::string expression_system = "undefined" );
std::string get_annotated_glycans_hierarchical ( std::string pdb_filename, bool original_colour_scheme = true, std::string expression_system = "undefined" );
std::string print_wurcs ( std::string pdb_filename, std::string expression_system = "undefined");
std::string print_node ( const clipper::MiniMol& mmol, const clipper::MGlycan& mg, const clipper::MGlycan::Node& node, const std::string chain, const clipper::MGlycan::Linkage& connection );
void svg_graphics_demo ( bool original_colour_scheme, bool inverted_background = false );
Expand Down
148 changes: 0 additions & 148 deletions src/privateer/cpp/pybind11/privateer-ccp4mg.cpp

This file was deleted.

4 changes: 2 additions & 2 deletions webserver/src/wasm/privateer.js

Large diffs are not rendered by default.

Binary file modified webserver/src/wasm/privateer.wasm
Binary file not shown.

0 comments on commit b5020e7

Please sign in to comment.