mspass-team / mspass

Massive Parallel Analysis System for Seismologists
https://mspass.org
BSD 3-Clause "New" or "Revised" License
28 stars 11 forks source link

fix typo in exception line #546

Closed pavlis closed 4 weeks ago

pavlis commented 1 month ago

hit this error in a run and realized it was just a typo - period should have been a comma.

BTW this suggests we need to run the equivalent of lint on our entire python code base. I know there are such tools but I don't know what would be best to catch this type of usage error. It wasn't caught because it wasn't a syntax error. It might be impossible for current generation tools of that type to catch this particular type of typo.