Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
2233ad8f
Commit
2233ad8f
authored
8 years ago
by
Chandrasekhar Ramakrishnan
Browse files
Options
Downloads
Patches
Plain Diff
MINOR: Improved method documentation.
parent
ecefeef2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python/OBis/obis/dm/data_mgmt.py
+11
-4
11 additions, 4 deletions
src/python/OBis/obis/dm/data_mgmt.py
with
11 additions
and
4 deletions
src/python/OBis/obis/dm/data_mgmt.py
+
11
−
4
View file @
2233ad8f
...
...
@@ -166,12 +166,19 @@ class AbstractDataMgmt(metaclass=abc.ABCMeta):
@abc.abstractmethod
def
init_data
(
self
,
path
,
desc
=
None
):
"""
Initialize a data repository at the path with the description.
"""
"""
Initialize a data repository at the path with the description.
:param path: Path for the repository.
:param desc: An optional short description of the repository (used by git-annex)
:return: A CommandResult.
"""
return
@abc.abstractmethod
def
init_analysis
(
self
,
path
):
"""
Initialize an analysis repository at the path.
"""
"""
Initialize an analysis repository at the path.
:param path: Path for the repository.
:return: A CommandResult.
"""
return
@abc.abstractmethod
...
...
@@ -183,7 +190,7 @@ class AbstractDataMgmt(metaclass=abc.ABCMeta):
:param msg: Commit message.
:param auto_add: Automatically add all files in the folder to the repo. Defaults to True.
:param sync: If true, sync with openBIS server.
:return:
:return:
A CommandResult.
"""
return
...
...
@@ -193,7 +200,7 @@ class AbstractDataMgmt(metaclass=abc.ABCMeta):
Sync the current repo.
This connects to openBIS and creates a data set in openBIS.
:return:
:return:
A CommandResult.
"""
return
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment