Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LinkAhead Sample Management
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
LinkAhead Sample Management
Commits
fe4d2ca4
Commit
fe4d2ca4
authored
5 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Add a brief description of customizations to the README
parent
c0d0740d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1
F awi sams
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+25
-0
25 additions, 0 deletions
README.md
with
25 additions
and
0 deletions
README.md
+
25
−
0
View file @
fe4d2ca4
...
...
@@ -29,6 +29,31 @@ instance's data model (e.g., by [synchronizing with the LinkAhead
advanced user
tools
](
https://docs.indiscale.com//caosdb-advanced-user-tools/yaml_interface.html
)
).
## Customization
The sample management module can be customized by overwriting
indivdual code and config files by using files of the same name and
with the same relative path in your LinkAhead profile's custom
directory. E.g., if you want to overwrite how sample entities are post-processed in the sample upload, you overwrite
```
sample-management-custom/caosdb-server/scripting/bin/sample_helpers/sample_upload_post_processing.py
```
from this repository by a
```
profile/custom/caosdb-server/scripting/bin/sample_helpers/sample_upload_post_processing.py
```
in your server profile. When doing so, it is important that in your
custom file, you use the exact same function names, signatures, and
return types as in the original file. In our example, the custom
`sample_upload_post_processing.py`
needs to contain a
`post_process_samples`
that takes the samples and the csv data as
arguments and returns the list of post processed samples.
## Testing
There is a pre-configured
`test-profile`
that you can use for testing
...
...
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