Skip to content

Commit

Permalink
Apply further suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lopiola committed Sep 14, 2023
1 parent c617389 commit ffb7c76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/dependencies/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def check_fs_gcsfs(self):
def check_google_cloud_storage(self):
return "googlecloudstorage" in self.file_sources

def check_fs_onedatafs(self):
def check_fs_onedatarestfs(self):
return "onedata" in self.file_sources

def check_fs_basespace(self):
Expand Down
3 changes: 2 additions & 1 deletion lib/galaxy/files/sources/onedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
OnedataRESTFS = None

from typing import Optional

from . import FilesSourceOptions
from ._pyfilesystem2 import PyFilesystem2FilesSource


def remove_prefix(prefix, string):
if string.startswith(prefix):
string = string[len(prefix):]
string = string[len(prefix) :]
return string


Expand Down

0 comments on commit ffb7c76

Please sign in to comment.