implements nicola's suggestion -> snakecase

This commit is contained in:
Brad Langhorst
2019-07-10 05:22:27 -04:00
parent 50011c1e98
commit 485e0043a7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ class LibraryDatasetsManager(datasets.DatasetAssociationManager):
ldda.dbkey = new_genome_build
changed = True
if changed:
ldda.updateParentFolderUpdateTimes()
ldda.update_parent_folder_update_times()
trans.sa_session.add(ldda)
trans.sa_session.flush()
return changed
+1 -1
View File
@@ -3594,7 +3594,7 @@ class LibraryDatasetDatasetAssociation(DatasetInstance, HasName, RepresentById):
rval['metadata_' + name] = val
return rval
def updateParentFolderUpdateTimes(self):
def update_parent_folder_update_times(self):
# sets the update_time for all continaing folders up the tree
ldda = self
+1 -1
View File
@@ -546,7 +546,7 @@ class UsesLibraryMixinItems(SharableItemSecurityMixin):
# I don't see a reason why hdas copied into libraries should not be visible.
# If there is, refactor `ldda.visible = True` to do this only when adding HDCAs.
ldda.visible = True
ldda.updateParentFolderUpdateTimes()
ldda.update_parent_folder_update_times()
trans.sa_session.flush()
ldda_dict = ldda.to_dict()
rval = trans.security.encode_dict_ids(ldda_dict)