Slurm API allows NeuroCI to accomplish a number of tasks on a remote server (running Slurm) in pure Python by utilizing SSH connection without the need to access the terminal. It is developed using Paramiko and python's scp library to replace the existing Cbrain API and to help generalize the NeuroCI framework.
List of Slurm API functions and their counterparts in Cbrain API:
login → cbrain_login
logout → cbrain_logout
list_data_provider → cbrain_list_data_provider
post_task → cbrain_post_task
get_all_tasks → cbrain_get_all_tasks
upload → N/A
download → cbrain_download_file
execute_command → N/A
All of the above functions have been locally tested with various simple use cases however, the API hasn't been tested with automated testing.
This PR includes the implementation of Slurm API.
Slurm API allows NeuroCI to accomplish a number of tasks on a remote server (running Slurm) in pure Python by utilizing SSH connection without the need to access the terminal. It is developed using Paramiko and python's scp library to replace the existing Cbrain API and to help generalize the NeuroCI framework.
List of Slurm API functions and their counterparts in Cbrain API:
All of the above functions have been locally tested with various simple use cases however, the API hasn't been tested with automated testing.