Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gga_load_data
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
abims
e-infra
gga_load_data
Merge requests
!5
Workflow v2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Workflow v2
workflow_v2
into
dev
Overview
2
Commits
15
Pipelines
0
Changes
7
2 unresolved threads
Hide all comments
Merged
Loraine Gueguen
requested to merge
workflow_v2
into
dev
3 years ago
Overview
2
Commits
15
Pipelines
0
Changes
1
2 unresolved threads
Hide all comments
Expand
👍
0
👎
0
Merge request reports
Viewing commit
8d50f6e9
Prev
Next
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8d50f6e9
analysis versions as string
· 8d50f6e9
Arthur Le Bars
authored
3 years ago
speciesData.py
+
2
−
2
Options
@@ -39,11 +39,11 @@ class SpeciesData:
if
parameters_dictionary
[
"
data
"
][
"
genome_version
"
]
==
""
:
self
.
genome_version
=
"
1.0
"
else
:
self
.
genome_version
=
parameters_dictionary
[
"
data
"
][
"
genome_version
"
]
self
.
genome_version
=
str
(
parameters_dictionary
[
"
data
"
][
"
genome_version
"
]
)
if
parameters_dictionary
[
"
data
"
][
"
ogs_version
"
]
==
""
:
self
.
ogs_version
=
"
1.0
"
else
:
self
.
ogs_version
=
parameters_dictionary
[
"
data
"
][
"
ogs_version
"
]
self
.
ogs_version
=
str
(
parameters_dictionary
[
"
data
"
][
"
ogs_version
"
]
)
# TODO: catch blocks if key is absent in input
self
.
genome_path
=
parameters_dictionary
[
"
data
"
][
"
genome_path
"
]
@@ -59,7+59,7 @@
self
.
genus_uppercase
=
self
.
genus
[
0
].
upper
()
+
self
.
genus
[
1
:]
self
.
chado_species_name
=
"
{0} {1}
"
.
format
(
self
.
species
,
self
.
sex
)
self
.
full_name
=
'
'
.
join
(
utilities
.
filter_empty_not_empty_items
([
self
.
genus_uppercase
,
self
.
species
,
self
.
strain
,
self
.
sex
])[
"
not_empty
"
])
self
.
full_name
=
self
.
full_name
.
replace
(
"
__
"
,
"
_
"
).
replace
(
"
_
"
,
"
_
"
).
replace
(
"
_
"
,
"
_
"
)
if
self
.
full_name
.
endswith
(
"
_
"
)
or
self
.
full_name
.
endswith
(
"
"
):
self
.
full_name
=
self
.
full_name
[
0
:
-
2
]
Loading