# HG changeset patch # User luca_milaz # Date 1756988816 0 # Node ID 111dbc8e041516c2f5c84790dac162637fd93c81 # Parent 350c3f3cb61d3033d9bb7ab3a936adc009ad741a Uploaded diff -r 350c3f3cb61d -r 111dbc8e0415 COBRAxy/utils/general_utils.py --- a/COBRAxy/utils/general_utils.py Thu Sep 04 12:22:08 2025 +0000 +++ b/COBRAxy/utils/general_utils.py Thu Sep 04 12:26:56 2025 +0000 @@ -71,7 +71,7 @@ str : the string representation of the file extension. """ - if(self.value[-1] in ["json", "xml"]): #return the original string extension for compressed files + if(self.value[0] in ["json", "xml"]): #return the original string extension for compressed files return self.original_extension else: return self.value[-1] # for all other formats and pickle