ENH: CLI: remove the limitation of assemble and transform

JIRA: no-jira
Change-Id: I2c2a880e64b844a9dbed0d62bbe749f3f7e85753
This commit is contained in:
lane.wei 2024-07-17 10:16:39 +08:00 committed by Lane.Wei
parent 997d1d73ff
commit 9525d8657a
1 changed files with 1 additions and 1 deletions

View File

@ -1489,7 +1489,7 @@ int CLI::run(int argc, char **argv)
BOOST_LOG_TRIVIAL(info) << boost::format("plate_to_slice=%1%, normative_check=%2%, use_first_fila_as_default=%3%")%plate_to_slice %normative_check %use_first_fila_as_default;
unsigned int input_index = 0;
std::vector<RGBA> input_obj_colours;
if (!load_assemble_list.empty() && ((m_input_files.size() > 0) || (m_transforms.size() > 0)))
if (!load_assemble_list.empty() && (m_input_files.size() > 0))
{
BOOST_LOG_TRIVIAL(error) << boost::format("load_assemble_list should not be used with input model files to load and should not be sued with transforms");
record_exit_reson(outfile_dir, CLI_INVALID_PARAMS, 0, cli_errors[CLI_INVALID_PARAMS], sliced_info);