Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JoannaWojS committed Sep 25, 2024
1 parent b25a572 commit cab1067
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
__all__ = ["slurm_lines", "rc_lines"]


def slurm_lines(queue, job_name, array=None, mem=None, out_name=None, nice_parameter=None):
def slurm_lines(
queue, job_name, array=None, mem=None, out_name=None, nice_parameter=None
):

"""
Function for creating the general lines that slurm scripts are starting with.
Expand Down Expand Up @@ -37,7 +40,7 @@ def slurm_lines(queue, job_name, array=None, mem=None, out_name=None, nice_param
"#SBATCH -n 1\n\n",
f"#SBATCH --output={out_name}.out\n" if out_name is not None else "",
f"#SBATCH --error={out_name}.err\n\n" if out_name is not None else "",
f"#SBATCH --nice={nice_parameter}\n"
f"#SBATCH --nice={nice_parameter}\n",
"ulimit -l unlimited\n",
"ulimit -s unlimited\n",
"ulimit -a\n\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ def configfile_coincidence(target_dir, source_name, config_file):
yaml.dump(conf, f, default_flow_style=False)


def linking_bash_lst(target_dir, LST_runs, source_name, LST_version, env_name, cluster, Nice_parameter):

def linking_bash_lst(
target_dir, LST_runs, source_name, LST_version, env_name, cluster, Nice_parameter
):
"""
This function links the LST data paths to the working directory and creates bash scripts.
Expand Down

0 comments on commit cab1067

Please sign in to comment.