Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
omniplate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pswain
omniplate
Commits
3083f114
Commit
3083f114
authored
1 month ago
by
pswain
Browse files
Options
Downloads
Patches
Plain Diff
feature: added rename_combined
parent
6a76f919
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
code/omniplate/manipulatedfs.py
+10
-1
10 additions, 1 deletion
code/omniplate/manipulatedfs.py
code/omniplate/platereader.py
+1
-0
1 addition, 0 deletions
code/omniplate/platereader.py
with
11 additions
and
1 deletion
code/omniplate/manipulatedfs.py
+
10
−
1
View file @
3083f114
...
...
@@ -3,7 +3,6 @@ import re
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
pandas
as
pd
from
scipy
import
stats
import
omniplate.admin
as
admin
import
omniplate.clogger
as
clogger
...
...
@@ -11,6 +10,16 @@ import omniplate.omerrors as errors
import
omniplate.sunder
as
sunder
@clogger.log
def
rename_combined
(
self
,
newname
):
"""
Rename a combined experiment.
"""
if
self
.
allexperiments
==
[
self
.
combined
]:
for
df
in
[
self
.
r
,
self
.
s
,
self
.
sc
]:
df
[
"
experiment
"
]
=
df
.
experiment
.
replace
({
self
.
combined
:
newname
})
self
.
allexperiments
=
[
newname
]
self
.
combined
=
newname
@clogger.log
def
rename
(
self
,
translatedict
,
regex
=
True
,
**
kwargs
):
"""
...
...
This diff is collapsed.
Click to expand it.
code/omniplate/platereader.py
+
1
−
0
View file @
3083f114
...
...
@@ -183,6 +183,7 @@ class platereader:
addnumericcolumn
,
getdataframe
,
rename
,
rename_combined
,
restricttime
,
)
from
.midlog
import
getmidlog
...
...
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