adjtomo / seisflows

An automated workflow tool for full waveform inversion and adjoint tomography
http://seisflows.readthedocs.org
BSD 2-Clause "Simplified" License
183 stars 124 forks source link

unhelpful warning environment task variable not assigned #234

Closed bch0w closed 1 week ago

bch0w commented 1 week ago

https://github.com/adjtomo/seisflows/blob/099a8f0672b99b6f81241a58b4bcca8535d2cc8d/seisflows/tools/config.py#L133-L149

This warning is logged when jobs are run as single (not array). It was originally meant as a warning for when tasks were not assigned an environment variable by the system.run() function but it shows up when we do system.run(single=True) so it's not really a warning, which can be confusing. Probably want to either skirt this warning when we run single jobs, or remove altogether.

bch0w commented 1 week ago

Completed with #230