mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Fix indentation
This commit is contained in:
@@ -62,7 +62,7 @@ def is_runtime_value(value):
|
||||
def has_runtime_datasets(trans, value):
|
||||
for v in util.listify(value):
|
||||
if isinstance(v, trans.app.model.HistoryDatasetAssociation) and \
|
||||
((hasattr(v, "state") and v.state != galaxy.model.Dataset.states.OK) or
|
||||
((hasattr(v, "state") and v.state != galaxy.model.Dataset.states.OK) or
|
||||
hasattr(v, "implicit_conversion")):
|
||||
return True
|
||||
return False
|
||||
@@ -1135,7 +1135,7 @@ class ColumnListParameter(SelectToolParameter):
|
||||
dataset = dataset.to_hda_representative()
|
||||
# Columns can only be identified if the dataset is ready and metadata is available
|
||||
if not hasattr(dataset, 'metadata') or \
|
||||
not hasattr(dataset.metadata, 'columns') or \
|
||||
not hasattr(dataset.metadata, 'columns') or \
|
||||
not dataset.metadata.columns:
|
||||
return []
|
||||
# Build up possible columns for this dataset
|
||||
|
||||
Reference in New Issue
Block a user