Skip to content

Commit

Permalink
removing rsession from reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Sep 25, 2023
1 parent 92d7665 commit f3f82f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions aws_pcluster_slurm_spawner/aws_pcluster_slurm_spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ class PClusterSlurmSpawner(batchspawner.SlurmSpawner):
{{prologue}}
# Custom R
{% if req_custom_r %}export PATH="{{req_custom_r}}:$PATH"{% endif %}
# Custom Env
{% if req_custom_env %}{{req_custom_env}}{% endif %}
which jupyterhub-singleuser
{% if srun %}{{srun}} {% endif %}{{cmd}}
echo "jupyterhub-singleuser ended gracefully"
Expand Down Expand Up @@ -398,18 +392,6 @@ def _options_form_default(self):
<label for="options">Options (additional options such as -N 4 for multiple nodes)</label>
<input type="text" class="form-control" value="{{req_options}}" placeholder="{req_options}" id="options" name="req_options"/>
</div>
<div class="form-group">
<label for="custom_env">Custom Env (spack load my-env). You should only need this option for custom R environments!</label>
<textarea id="custom_env" name="req_custom_env" rows="4" cols="50">
{{req_custom_env}}
</textarea>
</div>
<div class="form-group">
<label for="custom_r_path">Custom R Path (Run source activate my-r-env; which R)</label>
<input type="text" class="form-control" value="{{req_custom_r}}" placeholder="" id="custom_r" name="req_custom_r"/>
</div>
"""
rtemplate = Environment(loader=BaseLoader).from_string(form_options)
return rtemplate.render(**defaults)
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
batchspawner
jupyter-rsession-proxy
datasize
humanize
boto3
Expand Down

0 comments on commit f3f82f8

Please sign in to comment.