Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further cleanup #408

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**master:**
![example workflow](https://github.com/RagnarB83/ash/actions/workflows/python-app-conda.yml/badge.svg)
**NEW:**
![example branch parameter](https://github.com/RagnarB83/ash/actions/workflows/python-app-conda.yml/badge.svg?branch=NEW)

<img src="ash-simple-logo-letterbig.png" alt="drawing" width="300" align="right"/>

Expand Down
12 changes: 8 additions & 4 deletions ash/functions/functions_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import math
import shutil
import re
import atexit

import ash.settings_ash
from ash import ashpath
Expand Down Expand Up @@ -55,16 +56,19 @@ def create_ash_env_file():
export PATH=$python3path:$ASHPATH:$JULIAPATH:$PATH
export LD_LIBRARY_PATH=$ASHPATH/ash/lib:$LD_LIBRARY_PATH

echo " Sourced ASH environment file!"
echo "Sourced ASH environment file!"
echo "Importing ASH within Python should now work!"
echo "ASH is located in $ASHPATH"
echo "The Python interpreter that you should be using is located in $python3path"
"""
with open(f"{os.path.expanduser('~')}/set_environment_ash.sh", "w") as f:
f.write(ash_multiline_string)
print("Created file: set_environment_ash.sh in your home-directory.")
print("Sourcing this file will activate ASH for your current shell session:")
print("Sourcing this file (in your shell) will activate ASH for future shell sessions:")
print("source ~/set_environment_ash.sh")
print("You can add this line in your ~/.bashrc (or ~/.bash_profile or ~/.zshrc) or job-submission script")

print()
print("You can add this line to your ~/.bashrc (or ~/.bash_profile or ~/.zshrc) and job-submission script")
exit()


# Julia load interface
Expand Down
46 changes: 0 additions & 46 deletions conda_setup_ash.sh

This file was deleted.

2 changes: 1 addition & 1 deletion nonconda_install_ash.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

#WARNING: PROBABLY OUTDATED SCRIPT
#WARNING: OUTDATED SCRIPT
#KEPT ONLY FOR REFERENCE
#SEE https://ash.readthedocs.io/en/latest/setup.html FOR LATEST INSTALLATION INSTRUCTIONS
exit
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

Loading