Skip to content

Commit

Permalink
DO NOT MERGE -- allow files
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Nov 3, 2023
1 parent 904e51d commit 1c3e245
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/galaxy/model/deferred.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ def ensure_materialized(
return materialized_dataset_instance

def _stream_source(self, target_source: DatasetSource, datatype) -> str:
path = stream_url_to_file(target_source.source_uri, file_sources=self._file_sources)
if target_source.source_uri.startswith("file://"):
path = target_source.source_uri[len("file://"):]
else:
path = stream_url_to_file(target_source.source_uri, file_sources=self._file_sources)
transform = target_source.transform or []
to_posix_lines = False
spaces_to_tabs = False
Expand Down

0 comments on commit 1c3e245

Please sign in to comment.