<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Steve,</p>
<p><br>
</p>
<p>Sorry for the long wait. You can use "git" to check differences between different releases. On the command line, for instance, you could list all tags (releases):</p>
<p><br>
</p>
<p>git tag -l</p>
<p><br>
</p>
<p>And then you could run:<br>
</p>
<p><br>
</p>
<p><span>git diff v8.1.p01 v8.2 -- ./source/physics/src/GateSourceTPSPencilBeam.cc</span></p>
<p><br>
</p>
<p>(I hope that this command line does not get mangled in your email client...)</p>
<p><br>
</p>
<p>This shows the differences in the GateSourceTPSPencilBeam.cc source file between the releases 8.1.p01 and 8.2. You can also look at the diffs in github, for instance:</p>
<ul style="margin-bottom: 0px; margin-top: 0px;">
<li>go to <a href="https://github.com/OpenGATE/Gate" class="OWAAutoLink" id="LPlnk931775" previewremoved="true">
https://github.com/OpenGATE/Gate</a></li><li>click on "tags"</li><li>select the newest release tag for which you would like to do the comparison (8.2)</li><li>click "compare" and select the older release tag (8.1.p01)</li><li>you may have to wait a little bit while the server generates the diffs</li><li>select the "files changed" tab</li><li>find the file you're interested in and click "load diff"</li></ul>
<p>This should result in something like this:</p>
<p><a href="https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324" class="OWAAutoLink" id="LPlnk695207" previewremoved="true">https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324</a></p>
<p><br>
</p>
<p><a href="https://github.com/OpenGATE/Gate/compare/v8.1.p01...v8.2#diff-8f950e0d41b247abb5f0a77d4f0b2832L324" class="OWAAutoLink" id="LPlnk695207" previewremoved="true"></a>As you can see in the diff, nothing changed in the parsing of the optical part of
the source properties file, but there were changes in the parsing of the energy spread (MEV versus PCT). The 8.1 code has the number of lines to skip hardcoded, while in later releases it just skips whatever number of non-content lines (empty or comments)
you have inserted. If some of the previously skipped lines could be construed as a "content line" (not empty, no comment) then it's possible that all lines after that will be misinterpreted, including the divergence polynomials. Maybe that's what happened
with your source properties file.</p>
<p><br>
</p>
<p>We have made an effort to detect such mishaps in the parsing so that you'll get a crash with an informative error message in such cases. But I've noticed that this error detection is not yet fool proof: it is still possible to give it incorrect source properties
input which is then read silently, with bogus results. <br>
</p>
<p><br>
</p>
<p>In short: could you please send us your source properties file (and maybe also the main macro and the plan file) so that we can see where the parsing goes wrong?</p>
<p><br>
</p>
<p>HTH,</p>
<p>David Boersma<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> im Auftrag von COURT, Steven (UNIVERSITY COLLEGE LONDON HOSPITALS NHS FOUNDATION
TRUST) <steven.court@nhs.net><br>
<b>Gesendet:</b> Donnerstag, 6. August 2020 16:25:39<br>
<b>An:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Betreff:</b> [Gate-users] Version 8.1 and 8.2 differences, PBT</font>
<div> </div>
</div>
<div>
<p>Hi all,<br>
</p>
<p><br>
</p>
<p>I've been simulating some proton treatments in virtual Gate 8.2 and all looks good, but when I run the same simulation in 8.1 (to be in line with Gate-RTIon) the beam has a ridiculous divergence. I suspect some change to the source description file, perhaps
between rads / mrads, or in the ordering of the polynomials, I'm not sure yet.<br>
</p>
<p><br>
</p>
<p>Can anyone tell me what's up, or point me to a document where I can see all changes made between versions 8.1 and 8.2?<br>
</p>
<p><br>
</p>
<p>Thanks a lot,<br>
</p>
<p>Steve<br>
</p>
<br>
<font face="Courier New" color="Black" size="2"><br>
********************************************************************************************************************<br>
<br>
This message may contain confidential information. If you are not the intended recipient please inform the<br>
sender that you have received the message in error before deleting it.<br>
Please do not disclose, copy or distribute information in this e-mail or take any action in relation to its contents. To do so is strictly prohibited and may be unlawful. Thank you for your co-operation.<br>
<br>
NHSmail is the secure email and directory service available for all NHS staff in England and Scotland. NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and other accredited email services.<br>
<br>
For more information and to find out how you can switch, https://portal.nhs.net/help/joiningnhsmail<br>
<br>
</font></div>
</body>
</html>