Skip to content

Commit 72c6613

Browse files
committed
Rename reconstruction module to reconstruct
1 parent df9095f commit 72c6613

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

splashsurf/src/cli.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! The reconstruction procedure and other internals of the CLI are provided by the [`splashsurf_lib`] crate.
55
66
use crate::allocator::GetPeakAllocatedMemory;
7-
use crate::{convert, logging, reconstruction};
7+
use crate::{convert, logging, reconstruct};
88
use anyhow::Context;
99
use clap::Parser;
1010
use log::info;
@@ -44,7 +44,7 @@ struct CommandlineArgs {
4444
enum Subcommand {
4545
/// Reconstruct a surface from particle data
4646
#[command(help_template = HELP_TEMPLATE)]
47-
Reconstruct(reconstruction::ReconstructSubcommandArgs),
47+
Reconstruct(reconstruct::ReconstructSubcommandArgs),
4848
/// Convert particle or mesh files between different file formats
4949
#[command(help_template = HELP_TEMPLATE)]
5050
Convert(convert::ConvertSubcommandArgs),
@@ -115,7 +115,7 @@ where
115115

116116
// Delegate to subcommands
117117
let result = match &cmd_args.subcommand {
118-
Subcommand::Reconstruct(cmd_args) => reconstruction::reconstruct_subcommand(cmd_args),
118+
Subcommand::Reconstruct(cmd_args) => reconstruct::reconstruct_subcommand(cmd_args),
119119
Subcommand::Convert(cmd_args) => convert::convert_subcommand(cmd_args),
120120
};
121121

@@ -189,7 +189,7 @@ mod cli_args_tests {
189189
#[test]
190190
fn verify_reconstruct_cli() {
191191
use clap::CommandFactory;
192-
crate::reconstruction::ReconstructSubcommandArgs::command().debug_assert()
192+
crate::reconstruct::ReconstructSubcommandArgs::command().debug_assert()
193193
}
194194

195195
#[test]

splashsurf/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pub mod cli;
22
mod convert;
33
mod io;
4-
mod reconstruction;
4+
mod reconstruct;
55
#[macro_use]
66
mod allocator;
77
mod logging;
88

9-
pub use reconstruction::arguments::ReconstructionRunnerPostprocessingArgs;
10-
pub use reconstruction::{PipelineResult, reconstruction_pipeline};
9+
pub use reconstruct::arguments::ReconstructionRunnerPostprocessingArgs;
10+
pub use reconstruct::{PipelineResult, reconstruction_pipeline};
1111
pub(crate) use register_counting_allocator;

splashsurf/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod cli;
22
mod convert;
33
mod io;
4-
mod reconstruction;
4+
mod reconstruct;
55
#[macro_use]
66
mod allocator;
77
mod logging;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::cli::Switch;
2-
use crate::reconstruction::arguments::*;
2+
use crate::reconstruct::arguments::*;
33
use crate::{io, logging};
44
use anyhow::{Context, anyhow};
55
use clap::value_parser;

0 commit comments

Comments
 (0)