From 7b8064c7dc83864bba39718819e566fbd2a472cf Mon Sep 17 00:00:00 2001 From: Alejandra Gonzalez <alejandra.gonzalez@uni-jena.de> Date: Mon, 25 Oct 2021 14:46:55 +0200 Subject: [PATCH] Negative mmode fix for cactus/thc data --- watpy/wave/wave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watpy/wave/wave.py b/watpy/wave/wave.py index 98b6911..9ad911d 100644 --- a/watpy/wave/wave.py +++ b/watpy/wave/wave.py @@ -74,7 +74,7 @@ def wfile_parse_name(fname): """ t = ['bam','cactus','core','core','core-energy'] s = [r'R(\w+)mode(\d)(\w+)_r(\d+).l(\d+)', - r'mp_(\w+)_l(\d)_m(\d)_r(\d+\.\d\d).asc', + r'mp_(\w+)_l(\d)_m(.\d|\d)_r(\d+\.\d\d).asc', r'R(\w+)_l(\d+)_m(\d+)_r(\d+).txt', r'R(\w+)_l(\d+)_m(\d+)_r(\w+).txt', r'EJ_r(\d+).txt'] -- GitLab