Skip to content

Commit

Permalink
add missing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Mar 30, 2020
1 parent 9be2666 commit 8f965ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import re

from . import configTemplates
from .helperFunctions import conddb, parsecolor, parsestyle, replaceByMap, clean_name, getTagsMap
from .helperFunctions import parsecolor, parsestyle, replaceByMap, clean_name, getTagsMap
from .TkAlExceptions import AllInOneError
import six

Expand Down Expand Up @@ -169,7 +169,7 @@ def __getConditions( self, theConfig, theSection ):
if not os.path.exists(dbfile):
raise AllInOneError("No file {}.".format(dbfile))

if "Deformations" not in getTagsMap().keys():
if "Deformations" not in getTagsMap(dbfile).keys():
deformations = False #so that hp = XXXX works whether or not deformations were aligned
if not alignments: #then it's specified with hp_deformations, which is a mistake
raise AllInOneError("{}{} has no deformations".format(option, number))
Expand Down

0 comments on commit 8f965ad

Please sign in to comment.