Unprotect non-main/master branches
Hi,
I was trying to push some additional installation instructions onto another gravelamps branch that I was going to make an MR for. It's a very easy, small, text change with some cluster installation instructions that doesn't necessarily require forking the entire repository:
## Installation Instructions
Gravelamps is available from pip and can be installed simply with
`pip install Gravelamps`
Should you wish to build from the source. The process of installation has designed to be as simple as possible. Assuming all necessary dependencies are met, simply follow this procedure:
1. Clone the repository
2. In a terminal, navigate to the repository directory
3. `pip install .`
This can be done either in default python environment or in a conda environment without issue. The C++ subprograms will by default be placed into $HOME/bin - which the user should have extant already and on the $PATH environment variable so that the calls can be made without issue. The behaviour of the C++ subprogram installation can be modified via the provided makefile in the lensing subfolder - which will be called when the pip installation is made.
### Installation on LIGO cluster for LVK members (as of 22 March 2023; update as necessary)
# login to cluser (see https://wiki.ligo.org/Computing/LDG/ClusterLogin):
ssh user.name@ldas-pcdev3.ligo.caltech.edu # Replace username with your own ligo/virgo/kagra username
# Note: If above command does not work, then you likely need to make an ssh key at https://grouper.ligo.org/ldg/manage_ssh/ and follow the instructions
# Once logged into the cluster:
git clone git@git.ligo.org:mick.wright/Gravelamps.git # Clone the repository
# Note: If the above command does not work, then you likely need to make an ssh key at https://git.ligo.org/-/profile/keys and follow the instructions
cd Gravelamps # cd into the folder
curl micro.mamba.pm/install.sh | bash # Install mamba (I recommend never to use conda); see https://mamba.readthedocs.io/en/latest/installation.html
mamba create --name igwn-py39-local --clone igwn-py39 # Make a local clone of the igwn-py39 environment which is the default running environment on the LIGO clusters
conda activate igwn-py39-local # Activate the environment
mamba install arb # Install required additional dependency that is not installed with the igwn-py39 environment
pip install bilby==1.4.1
pip install bilby_pipe==1.0.7
pip install . # Install gravelamps
# Test gravelamps (testrun)
cd tests # cd into tests folder in the Gravelamps directory
gravelamps_inference test_configs/injection_test.ini # Create a condor dag file for running gravelamps on the cluster in the tests folder (see test_configs/injection_test.ini for settings)
condor_submit_dag injection_test/submit/gravelamps_inference.dag # Submit the condor job
condor_q # Check the status of the run
# The results will show up in the `outdir` folder once the run has finalized
However, it seems like as a guest I can't push branches on the repository. Would it be possible to make the non-master branches unprotected, at least for now? I could see how it may become a problem in the longer term if there are 15+ developers but with a small group of people, I expect that the benefits of making it easier to contribute to Gravelamps could outweigh the costs of the few user errors per year (until there are enough users that it becomes an issue).
Let me know what you think.
Cheers,
Otto