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
590a8545
Commit
590a8545
authored
5 years ago
by
Swen Vermeul
Browse files
Options
Downloads
Patches
Plain Diff
added freeze attributes
parent
0daf4423
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
pybis/src/python/README.md
+24
-5
24 additions, 5 deletions
pybis/src/python/README.md
with
24 additions
and
5 deletions
pybis/src/python/README.md
+
24
−
5
View file @
590a8545
...
@@ -194,11 +194,13 @@ project.download_attachments()
...
@@ -194,11 +194,13 @@ project.download_attachments()
project.code
project.code
project.description
project.description
project.registrator
# ... and many more
project.registrationDate
project.modifier
project.modificationDate
project.attrs.all() # returns a dict containing all attributes
project.attrs.all() # returns a dict containing all attributes
project.freeze = True
project.freezeForExperiments = True
project.freezeForSamples = True
```
```
## Samples
## Samples
...
@@ -300,6 +302,12 @@ samples = o.get_samples(
...
@@ -300,6 +302,12 @@ samples = o.get_samples(
)
)
samples.df # returns a pandas DataFrame object
samples.df # returns a pandas DataFrame object
samples.get_datasets(type='ANALYZED_DATA')
samples.get_datasets(type='ANALYZED_DATA')
sample.freeze = True
sample.freezeForComponents = True
sample.freezeForChildren = True
sample.freezeForParents = True
sample.freezeForDataSets = True
```
```
## Experiments
## Experiments
...
@@ -346,6 +354,10 @@ exp.registrator
...
@@ -346,6 +354,10 @@ exp.registrator
exp.registrationDate
exp.registrationDate
exp.modifier
exp.modifier
exp.modificationDate
exp.modificationDate
exp.freeze = True
exp.freezeForDataSets = True
exp.freezeForSamples = True
```
```
## Datasets
## Datasets
...
@@ -442,6 +454,12 @@ datasets.df # get a pandas dataFrame object
...
@@ -442,6 +454,12 @@ datasets.df # get a pandas dataFrame object
for dataset in datasets:
for dataset in datasets:
print(dataset.permID)
print(dataset.permID)
dataset.delete('give me a reason')
dataset.delete('give me a reason')
ds.freeze = True
ds.freezeForChildren = True
ds.freezeForParents = True
ds.freezeForComponents = True
ds.freezeForContainers = True
```
```
## Semantic Annotations
## Semantic Annotations
...
@@ -501,7 +519,8 @@ o.get_tag('TAG_Name')
...
@@ -501,7 +519,8 @@ o.get_tag('TAG_Name')
tag.get_experiments()
tag.get_experiments()
tag.get_samples()
tag.get_samples()
tag.delete()
tag.get_owner()
tag.delete('why?')
```
```
## Vocabulary and VocabularyTerms
## Vocabulary and VocabularyTerms
...
...
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