mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
implements nicola's suggestion -> snakecase
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user