Skip to content

Commit

Permalink
Disable some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu committed Aug 21, 2024
1 parent d5885f4 commit bef6c6c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ jobs:
- name: Run unit tests
run: |
python3 -m unittest discover -s tests
- name: Setup rendering test
run: |
mkdir test_rendering
- name: Test 'scene' endpoint
working-directory: test_rendering
run: >
gwrender scene
$GITHUB_WORKSPACE/Examples/Rainbow/Rainbow.yaml Resolutions/Test
-o ./ -n2 -v
- name: Test 'scenes' endpoint
working-directory: test_rendering
run: >
gwrender scenes
$GITHUB_WORKSPACE/Examples/Rainbow/Scenes.yaml Resolutions/Test
-o ./ -n2 -v
# - name: Setup rendering test
# run: |
# mkdir test_rendering
# - name: Test 'scene' endpoint
# working-directory: test_rendering
# run: >
# gwrender scene
# $GITHUB_WORKSPACE/Examples/Rainbow/Rainbow.yaml Resolutions/Test
# -o ./ -n2 -v
# - name: Test 'scenes' endpoint
# working-directory: test_rendering
# run: >
# gwrender scenes
# $GITHUB_WORKSPACE/Examples/Rainbow/Scenes.yaml Resolutions/Test
# -o ./ -n2 -v
# - name: Test 'waveform' endpoint
# working-directory: test_rendering
# run: >
Expand Down
7 changes: 6 additions & 1 deletion Examples/Rainbow/Datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ Replace:
Waveform:
File: https://zenodo.org/record/3321679/files/Lev3/rhOverM_Asymptotic_GeometricUnits_CoM.h5
Subfile: Extrapolated_N2.dir
Cache: waveform_data_cache
# File: /Users/nilsvu/Projects/gwpv/waveform_data_cache/rhOverM_Asymptotic_GeometricUnits_CoM.h5
# File: /Users/nilsvu/Downloads/CceReduction.h5
# Subfile: SpectreR0200.cce
# File: /Users/nilsvu/Downloads/CharacteristicExtractReduction.h5
# Subfile: SpectreR0250.cce/Strain
# Cache: waveform_data_cache
SwshCache: swsh_cache
17 changes: 9 additions & 8 deletions Examples/Rainbow/Rainbow.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
Include:
- Datasources
- Background/Dark
- Background/Light
- Resolutions/Low

Animation:
Speed: 100
Crop: [2100, 2200]
# Crop: [2800, 3200]

WaveformToVolume:
Size: 100
RadialScale: 2.
Polarizations: ["Plus"]
EllMax: 5

VolumeRepresentation:
ColorBy: Plus strain
ScalarOpacityUnitDistance: 4.
ScalarOpacityUnitDistance: 3.

TransferFunctions:
- Field: Plus strain
TransferFunction:
Peaks:
Colormap: Rainbow Uniform
NumPeaks: 7 # A rainbow has 7 colors. No more, no less.
Colormap: "Inferno (matplotlib)"
NumPeaks: 4
FirstPeak:
Position: 0.03
Opacity: 0.1
Position: 0.18
Opacity: 0.2
LastPeak:
Position: 0.06
Position: 0.22
Opacity: 0.5

0 comments on commit bef6c6c

Please sign in to comment.