comparison COBRAxy/utils/general_utils.py @ 337:350c3f3cb61d draft

Uploaded
author luca_milaz
date Thu, 04 Sep 2025 12:22:08 +0000
parents b89091ae2484
children 111dbc8e0415
comparison
equal deleted inserted replaced
336:b89091ae2484 337:350c3f3cb61d
69 69
70 Returns: 70 Returns:
71 str : the string representation of the file extension. 71 str : the string representation of the file extension.
72 """ 72 """
73 73
74 if(self.values[-1] in ["json", "xml"]): #return the original string extension for compressed files 74 if(self.value[-1] in ["json", "xml"]): #return the original string extension for compressed files
75 return self.original_extension 75 return self.original_extension
76 else: 76 else:
77 return self.value[-1] # for all other formats and pickle 77 return self.value[-1] # for all other formats and pickle
78 78
79 class FilePath(): 79 class FilePath():