Skip to content
Snippets Groups Projects
Commit 835c76f4 authored by Chandrasekhar Ramakrishnan's avatar Chandrasekhar Ramakrishnan
Browse files

SSDM-4670: Implement sync in the no-git data management class.

parent e38002ec
No related branches found
No related tags found
No related merge requests found
...@@ -190,7 +190,7 @@ class AbstractDataMgmt(metaclass=abc.ABCMeta): ...@@ -190,7 +190,7 @@ class AbstractDataMgmt(metaclass=abc.ABCMeta):
@abc.abstractmethod @abc.abstractmethod
def sync(self): def sync(self):
""" """
Syc the current repo. Sync the current repo.
This connects to openBIS and creates a data set in openBIS. This connects to openBIS and creates a data set in openBIS.
:return: :return:
...@@ -210,6 +210,9 @@ class NoGitDataMgmt(AbstractDataMgmt): ...@@ -210,6 +210,9 @@ class NoGitDataMgmt(AbstractDataMgmt):
def commit(self, msg, auto_add=True, sync=True): def commit(self, msg, auto_add=True, sync=True):
self.error_raise("commit", "No git command found.") self.error_raise("commit", "No git command found.")
def sync(self):
self.error_raise("commit", "No git command found.")
class GitDataMgmt(AbstractDataMgmt): class GitDataMgmt(AbstractDataMgmt):
"""DataMgmt operations in normal state.""" """DataMgmt operations in normal state."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment