Compare commits
2 commits
b0ef8c3fc0
...
1264a09ed0
| Author | SHA1 | Date | |
|---|---|---|---|
|
1264a09ed0 |
|||
|
294df0a6c9 |
2 changed files with 2 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ def _create_config(path: str) -> None:
|
|||
'toml_imports_path': os.path.join(path, 'toml_imports'),
|
||||
'import_scripts_path': os.path.join(path, 'import_scripts'),
|
||||
'tracker': 'datalad',
|
||||
'cached': True,
|
||||
'cached': 'True',
|
||||
}
|
||||
with open(os.path.join(path, '.corrlib'), 'w') as configfile:
|
||||
config.write(configfile)
|
||||
|
|
|
|||
|
|
@ -14,9 +14,7 @@ def get(path: str, file: str) -> None:
|
|||
|
||||
|
||||
def save(path: str, message: str, files: Optional[list[str]]=None) -> None:
|
||||
if files is None:
|
||||
files = path
|
||||
else:
|
||||
if files is not None:
|
||||
files = [os.path.join(path, f) for f in files]
|
||||
dl.save(files, message=message, dataset=path)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue