Skip to content

Commit 3ca9ff6

Browse files
committed
move print_tools.rs to enclone_base
1 parent 62672a6 commit 3ca9ff6

File tree

14 files changed

+13
-7
lines changed

14 files changed

+13
-7
lines changed

Diff for: Cargo.lock

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: enclone/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ publish = false
2323
amino = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
2424
ansi_escape = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
2525
debruijn = "0.3"
26+
enclone_base = { path = "../enclone_base" }
2627
enclone_core = { path = "../enclone_core" }
2728
enclone_proto = { path = "../enclone_proto" }
2829
equiv = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }

Diff for: enclone/src/info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use self::refx::RefData;
88
use amino::{aa_seq, codon_to_aa};
99
use ansi_escape::emit_end_escape;
1010
use debruijn::{dna_string::DnaString, Mer};
11+
use enclone_base::print_tools::emit_codon_color_escape;
1112
use enclone_core::defs::{CloneInfo, EncloneControl, ExactClonotype};
12-
use enclone_core::print_tools::emit_codon_color_escape;
1313
use rayon::prelude::*;
1414
use std::collections::HashMap;
1515
use string_utils::strme;

Diff for: enclone_base/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ publish = false
2424

2525
[dependencies]
2626
amino = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
27+
ansi_escape = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
2728
bio_edit = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
2829
enclone_proto = { path = "../enclone_proto" }
2930
flate2 = "1"
File renamed without changes.

Diff for: enclone_base/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pub mod blacklist;
55
pub mod opt_d;
66
pub mod packing;
77
pub mod pdb;
8+
pub mod print_tools;
File renamed without changes.

Diff for: enclone_core/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ pub mod main_testlist;
1313
pub mod mammalian_fixed_len;
1414
pub mod median;
1515
pub mod prepare_for_apocalypse;
16-
pub mod print_tools;
1716
pub mod set_speakers;
1817
pub mod slurp;
1918
pub mod stringulate;

Diff for: enclone_help/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ publish = false
2121

2222
[dependencies]
2323
ansi_escape = { version = "0.1", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
24+
enclone_base = { path = "../enclone_base" }
2425
enclone_core = { path = "../enclone_core" }
2526
io_utils = { version = "0.3", git = "https://github.com/DavidBJaffe/rust-toolbox.git" }
2627
itertools = "0.10"

Diff for: enclone_help/src/help5.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use crate::help_utils::{colored_codon_table, HelpDesk};
66
use ansi_escape::{best_color_order, emit_end_escape, emit_green_escape, print_color};
7+
use enclone_base::print_tools::color_by_property;
78
use enclone_core::defs::EncloneControl;
8-
use enclone_core::print_tools::color_by_property;
99
use enclone_core::version_string;
1010
use io_utils::fwrite;
1111
use std::io::Write;

Diff for: enclone_help/src/help_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use ansi_escape::{
55
emit_blue_escape, emit_bold_escape, emit_end_escape, emit_green_escape, emit_red_escape,
66
print_color,
77
};
8-
use enclone_core::print_tools::{emit_codon_color_escape, font_face_in_css};
8+
use enclone_base::print_tools::{emit_codon_color_escape, font_face_in_css};
99
use io_utils::fwrite;
1010
use std::io::Write;
1111
use string_utils::{stringme, strme};

Diff for: enclone_print/src/print_utils1.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use amino::codon_to_aa;
44
use ansi_escape::{
55
emit_bold_escape, emit_eight_bit_color_escape, emit_end_escape, emit_red_escape,
66
};
7+
use enclone_base::print_tools::{color_by_property, emit_codon_color_escape};
78
use enclone_core::cell_color::CellColor;
89
use enclone_core::defs::{ColInfo, EncloneControl, ExactClonotype, GexInfo, TigData1, POUT_SEP};
9-
use enclone_core::print_tools::{color_by_property, emit_codon_color_escape};
1010
use enclone_vars::decode_arith;
1111
use expr_tools::vars_of_node;
1212
use io_utils::{fwrite, fwriteln};

Diff for: enclone_print/src/print_utils5.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use crate::print_utils1::aa_classes;
44
use amino::codon_to_aa;
55
use ansi_escape::emit_end_escape;
6+
use enclone_base::print_tools::emit_codon_color_escape;
67
use enclone_core::defs::{ColInfo, EncloneControl, ExactClonotype};
7-
use enclone_core::print_tools::emit_codon_color_escape;
88
use enclone_proto::types::DonorReferenceItem;
99
use itertools::Itertools;
1010
use std::cmp::max;

Diff for: enclone_tail/src/group.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ use ansi_escape::ansi_to_html::{
2121
convert_text_with_ansi_escapes_to_svg,
2222
};
2323
use ansi_escape::{emit_bold_escape, emit_eight_bit_color_escape, emit_end_escape};
24+
use enclone_base::print_tools::font_face_in_css;
2425
use enclone_core::combine_group_pics::combine_group_pics;
2526
use enclone_core::defs::{ColInfo, EncloneControl, ExactClonotype, GexInfo};
2627
use enclone_core::mammalian_fixed_len::mammalian_fixed_len_peer_groups;
27-
use enclone_core::print_tools::font_face_in_css;
2828
use enclone_core::set_speakers::set_speakers;
2929
use enclone_core::version_string;
3030
use enclone_proto::types::DonorReferenceItem;

0 commit comments

Comments
 (0)