Skip to content

Commit

Permalink
Remove duplicated statement
Browse files Browse the repository at this point in the history
And fix a typo.
  • Loading branch information
nsoranzo committed Nov 19, 2024
1 parent 9440934 commit ead2d84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/managers/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def compute_hash(self, request: ComputeDatasetHashTaskRequest):
file_path = dataset.get_file_name()
hash_function = request.hash_function
calculated_hash_value = memory_bound_hexdigest(hash_func_name=hash_function, path=file_path)
extra_files_path = request.extra_files_path
dataset_hash = model.DatasetHash(
hash_function=hash_function,
hash_value=calculated_hash_value,
Expand Down Expand Up @@ -433,7 +432,7 @@ def is_composite(self, dataset_assoc: U):
"""
Return True if this hda/ldda is a composite type dataset.
.. note:: see also (whereever we keep information on composite datatypes?)
.. note:: see also (wherever we keep information on composite datatypes?)
"""
return dataset_assoc.extension in self.app.datatypes_registry.get_composite_extensions()

Expand Down

0 comments on commit ead2d84

Please sign in to comment.