Commit ebdcd42c authored by Lefebvre, Jordan's avatar Lefebvre, Jordan

Removing assertions that input file and graphic must exist.

parent 40792068
......@@ -89,15 +89,6 @@ TrajPlotWorkflow::TrajPlotWorkflow() {}
std::string TrajPlotWorkflow::buildCommand() const
{
// check if this is a file listing separated by '+'
if (m_input_path.find("+") == std::string::npos)
{
if (radix::file_exists(m_input_path) == false)
{
throw std::logic_error(
"***Error: Required input file file does not exist.");
}
}
//
// Find the trajplot executable
std::string executable =
......@@ -128,11 +119,6 @@ std::string TrajPlotWorkflow::buildCommand() const
// all Postscript file plotting options
if (!m_map_background.empty())
{
if (radix::file_exists(m_map_background) == false)
{
throw std::logic_error(
"***Error: Provided map background does not exist.");
}
command << " -j" << m_map_background;
}
if (m_projection != TrajPlotMapProjection::Auto)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment