From 0c83b791e2828bcfaca813b56a93bfbe86921123 Mon Sep 17 00:00:00 2001
From: Bensong Liu <bensl@microsoft.com>
Date: Thu, 11 Feb 2021 06:42:53 +0800
Subject: [PATCH] FR 20210211: Allow space character as id seperator. which
 reverts FR20200207

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

diff --git a/utils.py b/utils.py
index 3b7bba8..9b10af6 100644
--- a/utils.py
+++ b/utils.py
@@ -39,7 +39,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.replace(' ', '')):
+    for i, c in enumerate(s):
         if c not in 'QWERTYUIOPASDFGHJKLZXCVBNM1234567890qwertyuiopasdfghjklzxcvbnm-':
             break
         else:
-- 
GitLab