Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyiricdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
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
bioinfo_iric
pyiricdata
Commits
3b65feea
Commit
3b65feea
authored
4 years ago
by
Eric
Browse files
Options
Downloads
Patches
Plain Diff
fix deprecated msg according to the last commit.
fix comment of get_datafiles_list.
parent
16ec7da2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyiricdata/Client.py
+2
-2
2 additions, 2 deletions
pyiricdata/Client.py
with
2 additions
and
2 deletions
pyiricdata/Client.py
+
2
−
2
View file @
3b65feea
...
...
@@ -75,7 +75,7 @@ class Client:
df
.
index
.
name
=
'
ID
'
return
df
"""
F
et
ch Dataset Name and Slug ID available for the user as JSON
. A filter can be made on
metadata
and dataset
"""
"""
R
et
urn a DataFrame of user
'
s files
. A filter can be made on
annotation
and dataset
"""
def
get_datafiles_list
(
self
,
key_anno
=
None
,
value_anno
=
None
,
dataset_id
=
None
):
if
key_anno
is
None
and
value_anno
is
None
and
dataset_id
is
None
:
sys
.
stderr
.
write
(
"
WARNING: return all files isnt implemented
\n
"
)
...
...
@@ -169,7 +169,7 @@ class Client:
"""
Return DataFrame (file_name, file_id, file_slug, file_hash) for files in a given dataset
"""
def
get_dataset_filelist
(
self
,
dataset_id
):
sys
.
stderr
.
write
(
"
DEPRECATED: Please use
"
+
"
get_
list_
datafiles(dataset_id=dataset_id)
\n
"
)
"
get_datafiles
_list
(dataset_id=dataset_id)
\n
"
)
# df = pd.DataFrame(columns=['file_id', 'file_name', 'file_hash', 'file_slug'])
# if dataset_id not in self.datasets.index:
...
...
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