Skip to content

Commit ebbe108

Browse files
authored
build: bump coatjava to 13.8.0, and print accumulated charge in xcharge (#453)
1 parent d49cb39 commit ebbe108

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

bin/qtl-reheat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ declare -A REHEAT_METHODS=(
1616

1717
# default options
1818
dataset=train
19-
coatjava_version=13.3.0 # the first version with rollover correction, used for RG-A Spring 2018 reheating
19+
coatjava_version=13.8.0 # 13.3.0: first version with rollover correction, used for RG-A Spring 2018 reheating
20+
# 13.8.0: fix: avoid call to method that recalibrates already-calibrated dsc2
21+
# https://github.com/JeffersonLab/coatjava/pull/1153
2022
declare -A modes
2123
for key in submit; do
2224
modes[$key]=false

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.jlab.coat</groupId>
3737
<artifactId>coat-libs</artifactId>
38-
<version>13.6.0</version>
38+
<version>13.8.0</version>
3939
<type>jar</type>
4040
</dependency>
4141
<!-- https://mvnrepository.com/artifact/org.apache.groovy/groovy-all -->

qa-physics/charge_analysis/analyze_charge.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ def main():
300300
fig2.savefig(f'{output_dir}/chunked_fcupgated_comparison_{run_number}_{output_suffix}.png', bbox_inches='tight', dpi=300)
301301
plt.close(fig2)
302302

303+
print(f'TOTAL UNGATED CHARGE = {fcups[-1]-fcups[0]}')
304+
print(f'TOTAL GATED CHARGE = {fcupgateds[-1]-fcupgateds[0]}')
305+
303306

304307
if __name__ == "__main__":
305308
main()

0 commit comments

Comments
 (0)