Utilities: update to macfp.py to allow multiple Exp on the same plot #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Plot data in Experimental_Data directories | |
name: Plot_Experimental_Data | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the $default-branch branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
paths: | |
- .github/** | |
- Utilities/** | |
- Buoyant_Plumes/** | |
- Extinction/** | |
- Gaseous_Pool_Fires/** | |
- Liquid_Pool_Fires/** | |
- Wall_Fires/** | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
# Setup python | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' # caching pip dependencies | |
- run: pip install -r .github/requirements.txt | |
# Generate new plots | |
- name: Generate experimental data plots | |
run: | | |
echo $GITHUB_WORKSPACE | |
cd $GITHUB_WORKSPACE/Buoyant_Plumes/Sandia_Helium_Plume/Scripts && python Sandia_Helium_Plume_plot_exp.py | |
cd $GITHUB_WORKSPACE/Extinction/FM_Burner/Scripts && python FM_Burner_plot_exp.py | |
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/NIST_Pool_Fires/Scripts && python NIST_Pool_Fires_plot_exp.py | |
cd $GITHUB_WORKSPACE/Liquid_Pool_Fires/Waterloo_Methanol/Scripts && python Waterloo_Methanol_plot_exp.py |