You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand how to make use of storage provider to acces files on a remote server via SFTP.
profile file:
---
#restart-times: 1
max-jobs-per-second: 1
max-status-checks-per-second: 10
cores: 8 #
rerun-incomplete: true
keep-going: true
use-conda: true
# use-singularity: true
rerun-triggers: mtime # jobs will be rerun if their input files have been modified since the last run.
dry-run: true
# debug-dag: true
# verbose: true
default-storage-provider: sftp
storage-sftp-username: **********
storage-sftp-password: ***************
my test code:
import pandas as pd
import os
import time
import yaml
import pysftp
rule test:
input:
storage.sftp('sftp://***.***.**.***/home/**********/DEEMPRINT/workflow/data/inputdata/SAF/SAF.txt')
shell:
'''
exec > {log} 2> {log}
set -e
echo "hello world"
'''
"...*"/ -> IP address server
**********/ -> username
I always get the following error:
TypeError in file /home/snache/DEEMPRINT/workflow/snakefile, line 9:
'NoneType' object cannot be interpreted as an integer
File "/home/********/miniconda3/envs/DEEMPRINT_snakemake/lib/python3.12/site-packages/pysftp/__init__.py", line 140, in __init__
File "/home/********/miniconda3/envs/DEEMPRINT_snakemake/lib/python3.12/site-packages/pysftp/__init__.py", line 176, in _start_transport
File "/home/********/miniconda3/envs/DEEMPRINT_snakemake/lib/python3.12/site-packages/paramiko/transport.py", line 458, in __init__
I believe I'm giving incorrect information after storage.sftp, but I'm not sure as to what I need to change.
Kind regard
Sanché Verbeeck
The text was updated successfully, but these errors were encountered:
Hello
I'm trying to understand how to make use of storage provider to acces files on a remote server via SFTP.
profile file:
my test code:
"...*"/ -> IP address server
**********/ -> username
I always get the following error:
I believe I'm giving incorrect information after storage.sftp, but I'm not sure as to what I need to change.
Kind regard
Sanché Verbeeck
The text was updated successfully, but these errors were encountered: