ezgw: Easy Gravitational-Wave Tools for Python


installation: git clone git@git.ligo.org:eric.thrane/ezgw.git

getting started: Modify your python path:
export PYTHONPATH=$PYTHONPATH:/home/ethrane/repositories
Then, in your python code,
import ezgw.signals as signals
on the web: ezgw



How to set up a repository like ezgw:
Each package in Python is a directory which MUST contain a special file called __init__.py. This file can be empty, and it indicates that the directory it contains is a Python package, so it can be imported the same way a module can be imported.

Handling merge requests
First, check out a copy of the new branch, e.g.,
git checkout adding_laltools
Next, merge any differences from trunk into the new branch
git merge master -m "merge master into this branch"
Check to make sure the branch is consistent with master using test scripts. If yes, then push the changes into the branch
git push
Last, merge the branch into master:
https://git.ligo.org/eric.thrane/ezgw/merge_requests/1
Click merge. Alternatively, you can merge like this
git checkout master
git pull
git push
git merge adding_laltools
git push

What branch am I on? git branch

View branching history: https://git.ligo.org/eric.thrane/ezgw/network/master


Back to Resources