Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
diphtOscan
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Biodiversity and Epidemiology of Bacterial Pathogens
diphtOscan
Commits
991ee973
Commit
991ee973
authored
8 months ago
by
mrethore
Browse files
Options
Downloads
Patches
Plain Diff
pandas chained assignment update
parent
f76f45ce
No related branches found
No related tags found
1 merge request
!14
Completion of missing amr classifications
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
module/utils.py
+2
-2
2 additions, 2 deletions
module/utils.py
with
2 additions
and
2 deletions
module/utils.py
+
2
−
2
View file @
991ee973
...
...
@@ -173,8 +173,8 @@ def armfinder_to_table(data_resistance:pd.DataFrame) -> pd.DataFrame:
family
=
data_resistance
[
'
Class
'
][
res
]
if
table
[
family
][
strain
]
!=
''
:
table
[
family
][
strain
]
+=
"
;
"
table
[
family
][
strain
]
+=
gene
table
.
loc
[
strain
,
family
]
+=
"
;
"
table
.
loc
[
strain
,
family
]
+=
gene
return
table
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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