Commits

Christopher Moody committed b529d44

fixes to high cadence snapshot naming

  • Participants
  • Parent commits c05079f

Comments (0)

Files changed (1)

File yt/frontends/art/data_structures.py

         dirname = os.path.dirname(file_amr)
         for fp in (filename_pattern_hf,filename_pattern):
             for filetype, pattern in fp.items():
+                #if this attribute is already set skip it
+                if getattr(self,"file_"+filetype,None) is not None:
+                    continue
                 #sometimes the affix is surrounded by an extraneous _
                 #so check for an extra character on either side
                 check_filename = dirname+'/'+pattern%('?%s?'%affix)