Skip to content

Commit

Permalink
calendar.html: order synchrotrons by deposition count in 2011-2022
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Jul 12, 2024
1 parent 81a8ddb commit 3d4e0a6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ <h2>APS <span style="background-image: url(flags/us.svg)"></span></h2>
<h2>DLS <span style="background-image: url(flags/gb.svg)"></h2>
</div>

<div class="cal" id="ESRF">
<h2>ESRF <span style="background-image: url(flags/eu.svg)"></h2>
</div>

<div class="cal" id="SSRF">
<h2>SSRF <span style="background-image: url(flags/cn.svg)"></h2>
</div>

<div class="cal" id="ESRF">
<h2>ESRF <span style="background-image: url(flags/eu.svg)"></h2>
</div>

<div class="cal" id="SLS">
<h2>SLS <span style="background-image: url(flags/ch.svg)"></h2>
</div>
Expand All @@ -80,10 +80,6 @@ <h2>ALS <span style="background-image: url(flags/us.svg)"></h2>
<h2>SSRL <span style="background-image: url(flags/us.svg)"></h2>
</div>

<div class="cal" id="AustralianSynchrotron">
<h2>Australian Synchrotron <span style="background-image: url(flags/au.svg)"></h2>
</div>

<div class="cal" id="SPring8">
<h2>SPring-8 <span style="background-image: url(flags/jp.svg)"></h2>
</div>
Expand All @@ -92,6 +88,10 @@ <h2>SPring-8 <span style="background-image: url(flags/jp.svg)"></h2>
<h2>BESSY <span style="background-image: url(flags/de.svg)"></h2>
</div>

<div class="cal" id="AustralianSynchrotron">
<h2>Australian Synchrotron <span style="background-image: url(flags/au.svg)"></h2>
</div>

<div class="cal" id="PhotonFactory">
<h2>Photon Factory <span style="background-image: url(flags/jp.svg)"></h2>
</div>
Expand All @@ -100,6 +100,10 @@ <h2>Photon Factory <span style="background-image: url(flags/jp.svg)"></h2>
<h2>SOLEIL <span style="background-image: url(flags/fr.svg)"></h2>
</div>

<div class="cal" id="DESY">
<h2>DESY <span style="background-image: url(flags/de.svg)"></h2>
</div>

<div class="cal" id="PALPLS">
<h2>PAL/PLS <span style="background-image: url(flags/kr.svg)"></h2>
</div>
Expand All @@ -108,10 +112,6 @@ <h2>PAL/PLS <span style="background-image: url(flags/kr.svg)"></h2>
<h2>CLSI <span style="background-image: url(flags/ca.svg)"></h2>
</div>

<div class="cal" id="DESY">
<h2>DESY <span style="background-image: url(flags/de.svg)"></h2>
</div>

<div class="cal" id="home">
<h2>all home sources</h2>
</div>
Expand Down
8 changes: 4 additions & 4 deletions coldates.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from process import read_data, parse_date, SYNCHROTRONS

# alternative names are also included, see process.py
OUTPUT_SYN = ['APS', 'Diamond', 'ESRF', 'SSRF', 'SLS',
'ALS', 'SSRL', 'Australian Synchrotron',
'SPring-8', 'BESSY', 'Photon Factory',
'SOLEIL', 'PAL/PLS', 'CLSI', 'DESY']
OUTPUT_SYN = ['APS', 'Diamond', 'SSRF', 'ESRF', 'SLS',
'ALS', 'SSRL', 'SPring-8', 'BESSY',
'Australian Synchrotron', 'Photon Factory',
'SOLEIL', 'DESY', 'PAL/PLS', 'CLSI']
ALL_OUTPUT = OUTPUT_SYN + ['home']

FIRST_YEAR = int(sys.argv[1])
Expand Down

0 comments on commit 3d4e0a6

Please sign in to comment.