Mercurial > repos > bimib > cobraxy
changeset 338:111dbc8e0415 draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 04 Sep 2025 12:26:56 +0000 |
parents | 350c3f3cb61d |
children | 1fd4e4e93c85 |
files | COBRAxy/utils/general_utils.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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