Skip to content
Snippets Groups Projects
Commit 1b6050c7 authored by Chao Peng's avatar Chao Peng
Browse files

Change the CI job for EcalEndcapN placement

parent e0c4d842
Branches
Tags
1 merge request!127Change the CI job for EcalEndcapN placement
......@@ -106,16 +106,6 @@ include:
- local: 'views/view15.yml'
- local: 'views/view20.yml'
ce_ecal_placement:
stage: test
needs:
- common:detector
script:
- python scripts/ce_ecal_placement.py --save ce_ecal_crystal_glass.xml
- mv ce_ecal_placement.png doc/ce_ecal_placement.png
- if ! diff ce_ecal_crystal_glass.xml compact/ce_ecal_crystal_glass.xml ; then echo "ce_ecal_crystal_glaxs.xml not reproducible" && false ; fi
- echo "EndcapN layout at https://eicweb.phy.anl.gov/EIC/detectors/athena/-/jobs/${CI_JOB_ID}/artifacts/raw/doc/ce_ecal_placement.png"
dump_geometry:
stage: test
needs:
......
......@@ -93,7 +93,7 @@ def compact_constants(path, names):
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-s', '--save', default='compact/ce_ecal_crystal_glass.xml',
parser.add_argument('-s', '--save', default='ce_ecal_placement_test.xml',
help='path to save compact file.')
parser.add_argument('-c', '--compact', default='',
help='compact file to get contant to plot')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment