From ab8ff1673664d9dfefaff61d45d996d2395a4e37 Mon Sep 17 00:00:00 2001
From: Recolic Keghart <root@recolic.net>
Date: Fri, 2 Apr 2021 23:40:32 +0800
Subject: [PATCH] allow dot in id string

---
 utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils.py b/utils.py
index 9b10af6..7cbb3d8 100644
--- a/utils.py
+++ b/utils.py
@@ -40,7 +40,7 @@ def npmat_truncate_cols(mat, max_cols):
 def get_id_prefix_from_string(s):
     first_illegal_char_index = 0
     for i, c in enumerate(s):
-        if c not in 'QWERTYUIOPASDFGHJKLZXCVBNM1234567890qwertyuiopasdfghjklzxcvbnm-':
+        if c not in 'QWERTYUIOPASDFGHJKLZXCVBNM1234567890qwertyuiopasdfghjklzxcvbnm-.':
             break
         else:
             first_illegal_char_index = i + 1
-- 
GitLab