From c06384a48bda849eb78bf7e056c014389ca98bb3 Mon Sep 17 00:00:00 2001 From: Agah Date: Fri, 9 Aug 2024 11:56:06 -0400 Subject: [PATCH] Drop wget req and add option to set server download path --- repo2data/repo2data.py | 3 +++ requirements.txt | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/repo2data/repo2data.py b/repo2data/repo2data.py index 45ebc02..12e3147 100644 --- a/repo2data/repo2data.py +++ b/repo2data/repo2data.py @@ -133,6 +133,9 @@ def __init__(self, data_requirement_file=None, use_server=False, data_requiremen self.load_data_requirement(data_requirement_file) + def set_server_dst_folder(self,directory): + self._server_dst_folder = directory + def load_data_requirement(self, data_requirement_file): """Load the json data requirement file and set destination folder""" # here we should load just a json data diff --git a/requirements.txt b/requirements.txt index 3eed39d..472c166 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ awscli==1.21.0 patool==1.12 datalad==0.15.0 -wget==3.2 pytest==6.2.0 osfclient==0.0.5 gdown==4.2.0