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
dcc33556
Commit
dcc33556
authored
4 years ago
by
Albert Feghaly
Browse files
Options
Downloads
Patches
Plain Diff
Remove potention merge conflicting bloc
parent
ef9c9d2f
No related branches found
No related tags found
1 merge request
!12
Resolve "Do not exit python if connection fails"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyiricdata/Client.py
+0
-19
0 additions, 19 deletions
pyiricdata/Client.py
with
0 additions
and
19 deletions
pyiricdata/Client.py
+
0
−
19
View file @
dcc33556
...
@@ -169,25 +169,6 @@ class Client:
...
@@ -169,25 +169,6 @@ class Client:
def
get_dataset_filelist
(
self
,
dataset_id
):
def
get_dataset_filelist
(
self
,
dataset_id
):
sys
.
stderr
.
write
(
"
DEPRECATED: Please use
"
+
sys
.
stderr
.
write
(
"
DEPRECATED: Please use
"
+
"
get_list_datafiles(dataset_id=dataset_id)
\n
"
)
"
get_list_datafiles(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:
# sys.stderr.write(
# "ERROR: Dataset '{}' does not exist or you do not have permission to access it.".format(dataset_id) +\
# " Try Client.datasets for more details.\n")
# return df
# files = self.session.get(os.path.join(self.url, 'secure/dataset', dataset_id, 'file-list')).text.split('\n')
# file_id_list = np.unique([x.split('/')[-1] for x in files])
# df.file_id = file_id_list
# if files != ['']:
# for index, row in df.iterrows():
# file_meta = self.get_file_metadata(row['file_id'])
# assert not file_meta is None
# row['file_name'] = file_meta['filename']
# row['file_slug'] = file_meta['iric_data_id']
# row['file_hash'] = file_meta['hash']
# df.index = df.file_slug.copy()
# df.index.name = 'ID'
return
(
self
.
get_list_datafiles
(
dataset_id
=
dataset_id
))
return
(
self
.
get_list_datafiles
(
dataset_id
=
dataset_id
))
"""
Get DatasetId by name
"""
"""
Get DatasetId by name
"""
...
...
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