Skip to content

Commit

Permalink
CU-8695yah5d: Fix default name of the CDB on model pack upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolopolis committed Sep 25, 2024
1 parent ce04429 commit 8de1f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/api/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def save(self, *args, **kwargs):
concept_db = ConceptDB()
unpacked_file_name = self.model_pack.file.name.replace('.zip', '')
concept_db.cdb_file.name = os.path.join(unpacked_file_name, 'cdb.dat')
concept_db.name = f'{self.name} - CDB'
concept_db.name = f'{self.name}_CDB'
concept_db.save(skip_load=True)
self.concept_db = concept_db
except Exception as exc:
Expand Down

0 comments on commit 8de1f15

Please sign in to comment.