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
Commits
7208a7a9
Commit
7208a7a9
authored
3 years ago
by
Loraine Gueguen
Browse files
Options
Downloads
Patches
Plain Diff
fix filepath for upload_from_galaxy_fs()
parent
575ddd21
No related branches found
No related tags found
2 merge requests
!10
Release 2.0
,
!9
Release 2.0 (merge dev to master)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gga_load_data.py
+2
-4
2 additions, 4 deletions
gga_load_data.py
with
2 additions
and
4 deletions
gga_load_data.py
+
2
−
4
View file @
7208a7a9
...
...
@@ -141,7 +141,7 @@ class LoadData(speciesData.SpeciesData):
for
fname
,
files
in
folders
.
items
():
if
fname
and
files
:
folder_name
=
fname
[
len
(
data_dir_root
)
+
1
:]
folder_name
=
fname
[
len
(
CONTAINER_DATA_DIR_ROOT
)
+
1
:]
logging
.
info
(
"
Creating folder: %s
"
%
folder_name
)
folder
=
self
.
create_deep_folder
(
prj_lib
,
folder_name
)
...
...
@@ -183,11 +183,9 @@ class LoadData(speciesData.SpeciesData):
logging
.
info
(
"
Skipping useless file
'
%s
'"
%
single_file
)
continue
single_file_path
=
os
.
path
.
join
(
CONTAINER_DATA_DIR_ROOT
,
single_file
)
logging
.
info
(
"
Adding file
'
%s
'
with type
'
%s
'
and name
'
%s
'"
%
(
single_file
,
ftype
,
clean_name
))
datasets
=
prj_lib
.
upload_from_galaxy_fs
(
single_file
_path
,
single_file
,
folder
=
folder
,
link_data_only
=
'
link_to_files
'
,
file_type
=
ftype
,
...
...
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