-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cartesian mesh reader regex support #484
base: develop
Are you sure you want to change the base?
Conversation
…directly instead of baseline in TECA_DATA_ROOT
89afd32
to
1a5cb87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple of changes to make here.
@@ -240,28 +239,10 @@ def execute(self, port, data_in, req_in): | |||
rex.set_start_index(check_step) | |||
rex.set_end_index(check_step) | |||
|
|||
fn = file_util.replace_timestep(baseline, check_step) | |||
do_test = system_util.get_environment_variable_bool('TECA_DO_TEST', True) | |||
if do_test and os.path.exists(fn): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remove the TECA_DO_TEST feature, which can be used to automatically regenerate baselines across all tests. it has been removed here and in other tests that were modified.
@@ -111,6 +117,7 @@ void teca_cartesian_mesh_reader::set_properties(const std::string &prefix, | |||
variables_map &opts) | |||
{ | |||
TECA_POPTS_SET(opts, std::string, prefix, file_name) | |||
TECA_POPTS_SET(opts, std::string, prefix, files_regex) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only need one of these options. Either file_name or files_regex.
Resolves #288
does not resolve 316