Skip to content

Commit

Permalink
move all clonotype printing code into this repo (#550)
Browse files Browse the repository at this point in the history
Pull all enclone_print code into this repo.
Pull in mammalian_fixed_len.
Update to keep stats internal to enclone.
Rename enclone_print -> enclone_process.
Remove export_code test.
  • Loading branch information
macklin-10x authored Apr 23, 2024
1 parent 1e780de commit 3cf1410
Show file tree
Hide file tree
Showing 23 changed files with 8,726 additions and 66 deletions.
72 changes: 40 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ enclone_core = { git = "https://github.com/10XGenomics/enclone_ranger", branch =
enclone_denovo = { path = "../enclone_denovo" }
enclone_help = { path = "../enclone_help" }
enclone = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
enclone_print = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
enclone_process = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
enclone_proto = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
enclone_ranger = { git = "https://github.com/10XGenomics/enclone_ranger", branch = "main" }
enclone_server_proto = { path = "../enclone_server_proto" }
Expand Down
23 changes: 0 additions & 23 deletions enclone_exec/tests/enclone_test4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use enclone_core::defs::*;
use enclone_main::main_enclone::main_enclone;
use enclone_ranger::main_enclone::main_enclone_ranger;
use enclone_vars::export_code::*;
use enclone_vars::var::*;
use enclone_vars::*;
use io_utils::*;
Expand Down Expand Up @@ -578,28 +577,6 @@ fn test_unpushed() {

// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

// 40. Test to see that export_code has been run.
// An attempt to make this basic failed.

// NOT BASIC

#[cfg(not(feature = "basic"))]
#[cfg(not(feature = "cpu"))]
#[test]
fn test_export_code() {
let outs = export_code(1);
for i in 0..outs.len() {
let f = format!("../{}", outs[i].0);
let current = std::fs::read_to_string(&f).unwrap();
if outs[i].1 != current {
eprintln!("\nexport_code output {} has changed.\n", outs[i].0);
panic!("failed");
}
}
}

// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

// 41. Test a funny command with a newline that asserted at one point.
// An attempt to make this basic failed.

Expand Down
2 changes: 1 addition & 1 deletion enclone_main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ publish = false
dirs.workspace = true
enclone_core.workspace = true
enclone_help = { path = "../enclone_help" }
enclone_print.workspace = true
enclone_process.workspace = true
enclone_proto.workspace = true
enclone_stuff.workspace = true
enclone_tail = { path = "../enclone_tail" }
Expand Down
Loading

0 comments on commit 3cf1410

Please sign in to comment.