Skip to content

Commit

Permalink
version 1.4.8b ; default namespaces normalisation in preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Mar 31, 2022
1 parent 195c91a commit 6000464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fuji_server/controllers/fair_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class FAIRCheck:
IDENTIFIERS_ORG_DATA = {}
GOOGLE_DATA_DOI_CACHE = []
GOOGLE_DATA_URL_CACHE = []
FUJI_VERSION = '1.4.8'
FUJI_VERSION = '1.4.8b'

def __init__(self,
uid,
Expand Down
2 changes: 1 addition & 1 deletion fuji_server/helper/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def retrieve_default_namespaces(cls):
ns_file_path = os.path.join(cls.fuji_server_dir, 'data', 'default_namespaces.txt')
with open(ns_file_path) as f:
#ns = [line.split(':',1)[1].strip() for line in f]
ns = [line.rstrip() for line in f]
ns = [line.rstrip().rstrip('/#') for line in f]
if ns:
cls.default_namespaces = ns

Expand Down

0 comments on commit 6000464

Please sign in to comment.